From bf13fafb046a88af137b31c9b5e1948cdec523a5 Mon Sep 17 00:00:00 2001 From: Antonio Ojea Date: Tue, 31 Dec 2024 11:09:51 +0100 Subject: [PATCH] Update nightly.yaml publish the sha as tag instead of the fixed label --- .github/workflows/nightly.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml index c51ea05..4c57e9e 100644 --- a/.github/workflows/nightly.yaml +++ b/.github/workflows/nightly.yaml @@ -43,6 +43,7 @@ jobs: uses: docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + tags: type=sha - name: Log in to the Container registry uses: docker/login-action@v3 @@ -57,5 +58,5 @@ jobs: context: . platforms: linux/amd64,linux/arm64 push: true - tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:nightly + tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}