summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 67adacc4..f7061e3e 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -174,6 +174,7 @@ jobs:
- name: Generate builder values
id: values
run: |
+ echo "version_minor=$(echo ${GITHUB_REF##*/} | sed -e 's/^[vV]*//' | sed -e 's/\.[0-9]$//')" >> $GITHUB_OUTPUT
echo "version=$(echo ${GITHUB_REF##*/} | sed -e 's/^[vV ]*//')" >> $GITHUB_OUTPUT
echo "timestamp=$(echo $(date +%FT%T%z))" >> $GITHUB_OUTPUT
@@ -189,6 +190,8 @@ jobs:
BUILD_TIME=${{ steps.values.outputs.timestamp }}
tags: |
spiralscout/roadrunner:latest
+ spiralscout/roadrunner:${{ steps.values.outputs.version_minor }}
spiralscout/roadrunner:${{ steps.values.outputs.version }}
ghcr.io/roadrunner-server/roadrunner:latest
+ ghcr.io/roadrunner-server/roadrunner:${{ steps.values.outputs.version_minor }}
ghcr.io/roadrunner-server/roadrunner:${{ steps.values.outputs.version }}