We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fed219 commit 439037bCopy full SHA for 439037b
1 file changed
.github/workflows/build-cli.yaml
@@ -36,7 +36,8 @@ jobs:
36
uses: crazy-max/ghaction-github-runtime@v3
37
- name: Build sources
38
run: |
39
- docker buildx build --cache-to type=gha,mode=max,scope=${{ matrix.platform }} --cache-from type=gha,scope=${{ matrix.platform }} --pull --load --platform linux/${{ matrix.platform }} --target cli-base-alpine -t builder .
+ echo "${{ secrets.GITHUB_TOKEN }}" > TOKEN
40
+ docker buildx build --secret id=github-token,src=./TOKEN --cache-to type=gha,mode=max,scope=${{ matrix.platform }} --cache-from type=gha,scope=${{ matrix.platform }} --pull --load --platform linux/${{ matrix.platform }} --target cli-base-alpine -t builder .
41
- name: Copy build
42
43
docker create --name builder builder
0 commit comments