refactor(ci): simplify image tag format
The image tag generation in the release deployment workflow was simplified by removing the redundant IMAGE_TAG variable prepending. Now the tag is directly composed of the branch name and short SHA, resulting in cleaner and more readable image tags. Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
0a17460c5a
commit
12a729fafe
1 changed files with 2 additions and 2 deletions
4
.github/workflows/release-deployment.yaml
vendored
4
.github/workflows/release-deployment.yaml
vendored
|
|
@ -31,8 +31,8 @@ jobs:
|
|||
- name: Set image tag with branch info
|
||||
run: |
|
||||
SHORT_SHA=$(git rev-parse --short HEAD)
|
||||
echo "IMAGE_TAG=${IMAGE_TAG}-${{ github.event.inputs.branch }}-${SHORT_SHA}" >> $GITHUB_ENV
|
||||
echo "Using image tag: ${IMAGE_TAG}-${{ github.event.inputs.branch }}-${SHORT_SHA}"
|
||||
echo "IMAGE_TAG=${{ github.event.inputs.branch }}-${SHORT_SHA}" >> $GITHUB_ENV
|
||||
echo "Using image tag: $IMAGE_TAG"
|
||||
|
||||
- uses: depot/setup-action@v1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue