ci: use depot for docker builds (#23661)

This commit is contained in:
Zygimantas 2025-02-11 16:43:06 -05:00 committed by GitHub
parent bb03cd1c15
commit c0fafff838
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -61,8 +61,9 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Publish to GitHub Packages
uses: docker/build-push-action@v6
uses: depot/build-push-action@v1
with:
project: gnm1jqptpw
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}

View File

@ -58,8 +58,9 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Publish to GHCR
uses: docker/build-push-action@v6
uses: depot/build-push-action@v1
with:
project: gnm1jqptpw
context: ./contrib/devtools
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}