From 4c36d0e29e2c234f1f6211fc6a278f66083857e6 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Tue, 6 Jun 2023 19:49:13 +0200 Subject: feature: minor docker versions (eg: 2023.1, 2023.2, etc) Signed-off-by: Valery Piashchynski --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) 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 }} -- cgit v1.2.3