diff --git a/.github/workflows/docker-prod.yml b/.github/workflows/docker-prod.yml index e392c92..745e1fc 100644 --- a/.github/workflows/docker-prod.yml +++ b/.github/workflows/docker-prod.yml @@ -26,7 +26,7 @@ jobs: - name: Get version numbers run: | echo "IMAGE_VERSION=${GITHUB_REF_NAME#v}" >> $GITHUB_ENV - echo "IMAGE_MAJOR=$(expr match ${GITHUB_REF_NAME} 'v\([0-9]+\)\.[0-9+]')" >> $GITHUB_ENV + echo "IMAGE_MAJOR=$(expr match ${GITHUB_REF_NAME} 'v\([0-9]*\)\.[0-9]*')" >> $GITHUB_ENV - name: Build and push uses: docker/build-push-action@v3