summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2023-06-06 19:49:13 +0200
committerValery Piashchynski <[email protected]>2023-06-06 19:49:13 +0200
commit4c36d0e29e2c234f1f6211fc6a278f66083857e6 (patch)
tree471fd7bfcde7d83cfb5364db98364958eba52321 /.github
parent2f38ae823efc299fd87a31ec1396160c2b5350c2 (diff)
feature: minor docker versions (eg: 2023.1, 2023.2, etc)
Signed-off-by: Valery Piashchynski <[email protected]>
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 }}