From 2f8a019ae09880212cd4e5735b5b87109ca92062 Mon Sep 17 00:00:00 2001 From: Luca Beurer-Kellner Date: Tue, 11 Mar 2025 14:44:24 +0100 Subject: [PATCH] testing tags --- .github/workflows/publish-images.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/publish-images.yml b/.github/workflows/publish-images.yml index 6035183..0fc57ed 100644 --- a/.github/workflows/publish-images.yml +++ b/.github/workflows/publish-images.yml @@ -37,6 +37,10 @@ jobs: echo "tags=ghcr.io/${{ github.repository }}/app-api:latest" >> $GITHUB_ENV echo "tags_ui=ghcr.io/${{ github.repository }}/app-ui:latest" >> $GITHUB_ENV # starts with v* and only contains numbers and dots + if [[ "${{ github.event.workflow_run.head_branch }}" == "ghcr" ]]; then + echo "tags=ghcr.io/${{ github.repository }}/app-api:ghcr-testing" >> $GITHUB_ENV + echo "tags_ui=ghcr.io/${{ github.repository }}/app-ui:ghcr-testing" >> $GITHUB_ENV + # starts with v* and only contains numbers and dots elif [[ "${{ github.event.workflow_run.head_branch }}" =~ ^v[0-9.]+$ ]]; then # get tag name from the event version=${{ github.event.workflow_run.head_branch }}