From 75af192f4376c2e12fe58b3b6644cd5b29b669bf Mon Sep 17 00:00:00 2001 From: radioActive DROID Date: Tue, 21 Nov 2023 14:49:46 +0100 Subject: [PATCH] Update deploy-containers.yml --- .github/workflows/deploy-containers.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-containers.yml b/.github/workflows/deploy-containers.yml index 6c2917dfb8d..aec728d6278 100644 --- a/.github/workflows/deploy-containers.yml +++ b/.github/workflows/deploy-containers.yml @@ -45,16 +45,15 @@ jobs: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - # - name: Get tag version - # run: echo "_TAG_NUMBER=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV - name: Extract version from tag uses: damienaicheh/extract-version-from-tag-action@v1.1.0 + - name: Get tag version + run: echo "_VERSION=`echo ${PATCH#v*}`" >> $GITHUB_ENV + - name: Set environment DOCKERHUB_IMAGE_TAGS and VERSION run: | - _VERSION=${PATCH#v*} _MAJOR_VERSION=${_VERSION%.*} _DOCKERHUB_IMAGE_TAGS="$DOCKERHUB_REPOSITORY:$_VERSION-${{ matrix.os }}" _DOCKERHUB_IMAGE_TAGS+=",$DOCKERHUB_REPOSITORY:$_MAJOR_VERSION-${{ matrix.os }}"