Skip to content

Commit fafaa2a

Browse files
committed
Update CI CD tag version
1 parent 52f5810 commit fafaa2a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/ci-and-push.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ jobs:
7676
uses: docker/build-push-action@v2
7777
with:
7878
push: ${{ github.event_name != 'pull_request' }}
79-
tags: |
80-
type=semver,pattern={{version}}
79+
tags: ${{ steps.meta.outputs.tags }}
8180
labels: ${{ steps.meta.outputs.labels }}
82-
81+
build-args: |
82+
GIT_VERSION_TAG=${{ env.RELEASE_VERSION }}
83+
GIT_COMMIT_MESSAGE=${{ github.event.head_commit.message }}
84+
GIT_VERSION_HASH=${{ github.sha }}

0 commit comments

Comments
 (0)