Update ghcr_deploy.yml

always update latest tag
This commit is contained in:
Krish Dholakia 2024-01-08 11:47:12 +05:30 committed by GitHub
parent 3d0ea08f77
commit b4d624f332
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,7 @@ jobs:
with: with:
context: . context: .
push: true push: true
tags: ${{ steps.meta.outputs.tags }}-${{ github.event.inputs.tag || 'latest' }} # if a tag is provided, use that, otherwise use the release tag, and if neither is available, use 'latest' tags: ${{ steps.meta.outputs.tags }}-${{ github.event.inputs.tag || 'latest' }},latest # if a tag is provided, use that, otherwise use the release tag, and if neither is available, use 'latest'
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
build-and-push-image-alpine: build-and-push-image-alpine:
runs-on: ubuntu-latest runs-on: ubuntu-latest