mirror of
https://github.com/invariantlabs-ai/invariant-gateway.git
synced 2026-05-19 13:48:03 +02:00
testing tags
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user