Skip to content

Commit

Permalink
Push by digest
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhollas committed Apr 23, 2024
1 parent 69382a6 commit 2fd9d1a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,15 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

# https://docs.docker.com/build/ci/github-actions/multi-platform/#with-bake
- name: Build images 🏗️
id: build
uses: docker/bake-action@v4
with:
push: true
set: |
*.tags=
*.platform=linux/${{ startsWith(inputs.runsOn, 'ubuntu') && 'amd64' || 'arm64' }}
*.output=type=image,push-by-digest=true,name-canonical=true,push=true
files: |
docker-bake.hcl
build.json
Expand Down

0 comments on commit 2fd9d1a

Please sign in to comment.