diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index de0f750b..1a204c41 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,6 +30,7 @@ jobs: git fetch --tags --force --quiet # tag=$(git tag -l $GITHUB_REF_NAME* | tail -1 | cut -d "-" -f2-) build_num=$(git tag -l $BRANCH_NAME* | tail -1 | cut -d "-" -f2-) + echo "BUILD_NUM = $build_num" ((build_num++)) echo "IMAGE_TAG=$GITHUB_REF_NAME.$build_num" >> $GITHUB_ENV # if [ ! -z "$tag" ];