Skip to content

Commit

Permalink
Add build number logic (#93)
Browse files Browse the repository at this point in the history
Co-authored-by: AceDataCloud <[email protected]>
  • Loading branch information
Germey and AceDataCloud authored Aug 3, 2024
1 parent 0736730 commit e9d3311
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ jobs:

- name: Get Build Number
run: |
echo $BUILD_NUMBER
BUILD_NUMBER=$(echo $BUILD_NUMBER)
BUILD_DATE=$(date +'%Y%m%d')
BUILD_TAG="${BUILD_DATE}.${BUILD_NUMBER}"
echo "BUILD_NUMBER=${BUILD_TAG}" >> $GITHUB_ENV
- name: Build Docker images
run: docker-compose build
Expand Down

0 comments on commit e9d3311

Please sign in to comment.