Update ci.yml

This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2024-08-07 21:16:38 +03:00 committed by GitHub
parent d4b0585244
commit 2bea7b91fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,7 +22,7 @@ jobs:
run: apt-get update -y && apt-get install docker.io -y
- name: Build image
run: docker build . --file Dockerfile --tag $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}"
run: docker build . --file Dockerfile --tag $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}" --privileged -it --cap-add=sys_admin --cap-add mknod --device=/dev/fuse --security-opt seccomp=unconfined --security-opt label=disable
- name: Log in to registry
# This is where you will update the personal access token to GITHUB_TOKEN