diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index f00c44bbd..5b6b42981 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -34,6 +34,7 @@ jobs: *.cache-to=type=gha,scope=${{github.ref}}-static-builder env: VERSION: ${{github.ref_name}} + ENV: ${{ secrets.GITHUB_TOKEN }} - name: Copy binary run: docker cp $(docker create --name static-builder dunglas/frankenphp:static-builder):/go/src/app/caddy/frankenphp/frankenphp frankenphp ; docker rm static-builder diff --git a/docker-bake.hcl b/docker-bake.hcl index e781975ae..1a2660766 100644 --- a/docker-bake.hcl +++ b/docker-bake.hcl @@ -107,5 +107,5 @@ target "static-builder" { args = { FRANKENPHP_VERSION = VERSION } - secret = ["type=env,id=GITHUB_TOKEN"] + secret = ["id=github-token,env=GITHUB_TOKEN"] }