From d172b8ff637de2b9dffb34addf6289751b0a58f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Sat, 26 Aug 2023 19:31:16 +0200 Subject: [PATCH] fix github token --- .github/workflows/static.yml | 1 + docker-bake.hcl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index f00c44bbd7..5b6b42981e 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 e781975ae2..e32bfc41a8 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 = ["type=env,id=github-token"] }