Update docker-publish.yml

This commit is contained in:
yojoshb 2023-05-14 21:43:51 -05:00 committed by GitHub
parent 60f2c6851a
commit 926549c645
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,6 +68,7 @@ jobs:
id: meta
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
with:
flavor: latest=true
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
# Build and push Docker image with Buildx (don't push on PR)
@ -78,7 +79,7 @@ jobs:
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: "latest,${{ steps.meta.outputs.tags }}"
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max