File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 1515 IMAGE_NAME : ${{ github.repository }}
1616 DOCKER_USERNAME : ${{ github.actor }}
1717 DOCKER_PASSWORD : ${{ secrets.GITHUB_TOKEN }}
18+ DOCKER_PLATFORMS : linux/amd64,linux/arm64
1819
1920jobs :
2021 build :
3435
3536 - name : Set up Docker Buildx
3637 uses : docker/setup-buildx-action@v3
38+ with :
39+ platforms : ${{ env.DOCKER_PLATFORMS }}
3740
3841 - name : Log into registry ${{ env.REGISTRY }}
3942 if : github.event_name != 'pull_request'
6467 labels : ${{ steps.meta.outputs.labels }}
6568 cache-from : type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }},mode=max
6669 cache-to : type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }},mode=max
70+ platforms : ${{ env.DOCKER_PLATFORMS }}
6771
6872 - name : Sign the published Docker image
6973 if : ${{ github.event_name != 'pull_request' }}
You can’t perform that action at this time.
0 commit comments