use latest tag via env

This commit is contained in:
muchasxmaracas
2024-01-31 18:00:06 +01:00
committed by GitHub
parent 90eaee00f7
commit d2cf9a429d

View File

@@ -8,6 +8,7 @@ on:
env:
REGISTRY: ghcr.io
IMAGE_NAME: deathgarden-api-rebirth
PUSH_TAG: latest
jobs:
build-and-push-image:
@@ -39,5 +40,5 @@ jobs:
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
tags: ${{ env.PUSH_TAG }}
labels: ${{ steps.meta.outputs.labels }}