diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 1ea84d6e..c4c81b17 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -66,11 +66,13 @@ jobs: tags: ${{ env.TAG_CONFIG }} - name: Build and push Docker image + id: build uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56 # v5.1.0 with: + context: . platforms: ${{ matrix.platform }} - push: ${{ github.event_name != 'pull_request' }} - tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }} + outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=${{ github.event_name != 'pull_request' }} - name: Export digest id: digest