diff options
author | Valery Piashchynski <[email protected]> | 2023-06-22 22:04:16 +0200 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2023-06-22 22:04:16 +0200 |
commit | f156c45a3003a31288fbc6528022fe8257fd478f (patch) | |
tree | 94fdc6d097f4b596f31455afa523bddc1a37a657 | |
parent | 0017447bccb46664d6bbc28aee2c60ecf2ef71e8 (diff) |
fix: docker tagsv2023.2.0-beta.3
Signed-off-by: Valery Piashchynski <[email protected]>
-rw-r--r-- | .github/workflows/release.yml | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3eca179e..ac11782f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -177,14 +177,12 @@ jobs: echo latest_tag_s=$(echo ${GITHUB_REF##*/} | sed -E -e '/-beta|-alpha|-rc/ s/.*//' -e '/^[^-]*$/ s/.*v[0-9]+\..*/latest/'); [[ ! -z "$latest_tag_s" ]] && latest_tag_s="spiralscout/roadrunner:$latest_tag_s" >> $GITHUB_OUTPUT echo version_major_s=$(echo ${GITHUB_REF##*/} | sed -E -e '/-beta|-alpha|-rc/ s/.*//' -e '/^[^-]*$/ s/v([0-9]+)\..*/\1/'); [[ ! -z "$version_major_s" ]] && version_major_s="spiralscout/roadrunner:$version_major_s" >> $GITHUB_OUTPUT echo version_minor_s=$(echo ${GITHUB_REF##*/} | sed -E -e '/-beta|-alpha|-rc/ s/.*//' -e '/^[^-]*$/ s/v([0-9]+\.[0-9]+).*/\1/' -e '/^[^-]*$/ s/\.0$//'); [[ ! -z "$version_minor_s" ]] && version_minor_s="spiralscout/roadrunner:$version_minor_s" >> $GITHUB_OUTPUT - echo version_bugfix_s=$(echo ${GITHUB_REF##*/} | sed -E -e sed -e 's/^[vV ]*//'); [[ ! -z "$version_bugfix_s" ]] && version_bugfix_s="spiralscout/roadrunner:$version_bugfix_s" >> $GITHUB_OUTPUT echo latest_tag_g=$(echo ${GITHUB_REF##*/} | sed -E -e '/-beta|-alpha|-rc/ s/.*//' -e '/^[^-]*$/ s/.*v[0-9]+\..*/latest/'); [[ ! -z "$latest_tag_g" ]] && latest_tag_g="ghcr.io/roadrunner-server/roadrunner:$latest_tag_g" >> $GITHUB_OUTPUT echo version_major_g=$(echo ${GITHUB_REF##*/} | sed -E -e '/-beta|-alpha|-rc/ s/.*//' -e '/^[^-]*$/ s/v([0-9]+)\..*/\1/'); [[ ! -z "$version_major_g" ]] && version_major_g="ghcr.io/roadrunner-server/roadrunner:$version_major_g" >> $GITHUB_OUTPUT echo version_minor_g=$(echo ${GITHUB_REF##*/} | sed -E -e '/-beta|-alpha|-rc/ s/.*//' -e '/^[^-]*$/ s/v([0-9]+\.[0-9]+).*/\1/' -e '/^[^-]*$/ s/\.0$//'); [[ ! -z "$version_minor_g" ]] && version_minor_g="ghcr.io/roadrunner-server/roadrunner:$version_minor_g" >> $GITHUB_OUTPUT - echo version_bugfix_g=$(echo ${GITHUB_REF##*/} | sed -E -e sed -e 's/^[vV ]*//'); [[ ! -z "$version_bugfix_g" ]] && version_bugfix_g="ghcr.io/roadrunner-server/roadrunner:$version_bugfix_g" >> $GITHUB_OUTPUT - echo "version_bugfix=$(echo ${GITHUB_REF##*/} | sed -e 's/^[vV ]*//')" >> $GITHUB_OUTPUT + echo "version_full=$(echo ${GITHUB_REF##*/} | sed -e 's/^[vV ]*//')" >> $GITHUB_OUTPUT echo "timestamp=$(echo $(date +%FT%T%z))" >> $GITHUB_OUTPUT - name: Build image @@ -195,14 +193,15 @@ jobs: push: true platforms: linux/amd64,linux/arm64 build-args: | - APP_VERSION=${{ steps.values.outputs.version_bugfix}} + APP_VERSION=${{ steps.values.outputs.version_full}} BUILD_TIME=${{ steps.values.outputs.timestamp }} tags: | + spiralscout/roadrunner:${{ steps.values.outputs.version_full}} ${{ steps.values.outputs.latest_tag_s }} ${{ steps.values.outputs.version_major_s }} ${{ steps.values.outputs.version_minor_s }} - ${{ steps.values.outputs.version_bugfix_s }} + + ghcr.io/roadrunner-server/roadrunner:${{ steps.values.outputs.version_full}} ${{ steps.values.outputs.latest_tag_g }} ${{ steps.values.outputs.version_major_g }} ${{ steps.values.outputs.version_minor_g }} - ${{ steps.values.outputs.version_bugfix_g }} |