Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-fleming authored Oct 17, 2024
1 parent 79f43c3 commit 58efafb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ jobs:
# Increment the build number if a tag is found
build_num=$(echo "${tag##*.}")
build_num=$((build_num+1))
echo 'IMAGE_TAG=$GITHUB_REF_NAME.$build_num' >> $GITHUB_ENV
echo "IMAGE_TAG=$GITHUB_REF_NAME.$build_num" >> $GITHUB_ENV
else
# If no tag is found create a new tag name
build_num=1
echo 'IMAGE_TAG=$GITHUB_REF_NAME.$build_num' >> $GITHUB_ENV
echo "IMAGE_TAG=$GITHUB_REF_NAME.$build_num" >> $GITHUB_ENV
fi
- name: Build
Expand Down

0 comments on commit 58efafb

Please sign in to comment.