diff options
author | Valery Piashchynski <[email protected]> | 2023-06-06 20:08:41 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2023-06-06 20:08:41 +0200 |
commit | a61baf12e335a268a4182522e635bf7037451737 (patch) | |
tree | 32b9a3ac68fb1a965b19ac355844a051fabef8b2 | |
parent | a2326aa1dbd3cb4f3d697a397d506f4d3faf39f5 (diff) | |
parent | b849ce2a9ba08c09e6cf86224d8a3045802b04c0 (diff) |
[#1594] feature: minor docker tags (eg: `2023.1`, `2023.2`, etc)
-rw-r--r-- | .github/workflows/release.yml | 3 |
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 }} |