diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 723be493..ed5acac3 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -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