Skip to content

Commit b9ae2ef

Browse files
committed
2 parents 325cf3d + 72be26e commit b9ae2ef

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/docker-image.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ jobs:
1111
build:
1212

1313
runs-on: ubuntu-latest
14+
env:
15+
DOCKER_BUILDKIT: 1
1416

1517
steps:
1618
- uses: actions/checkout@v2
1719
- name: Build the Docker image
18-
run: docker build . --file Dockerfile --build-arg GH_TOKEN=${{ secrets.GITHUB_TOKEN }} --tag ghcr.io/fails-components/notepadhandler:$(date +%s)
20+
run: export GH_TOKEN=${{ secrets.GITHUB_TOKEN }}; docker build . --file Dockerfile --secret id=GH_TOKEN --tag ghcr.io/fails-components/notepadhandler:$(date +%s)

0 commit comments

Comments
 (0)