Skip to content

Commit f8066d7

Browse files
Sorting tag on versioned in cicd.
1 parent 1f5b7c8 commit f8066d7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/cicd.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,9 @@ jobs:
118118
name: Build lock base image tags to same version
119119
working-directory: ${{env.base_dir}}/${{ matrix.container_name }}
120120
run: |
121-
make build BASE_IMAGE_TAG=${${{ github.ref_name }}#v} IMAGE_NAME=${{ env.registry }}/${{ env.image_prefix }}${{ matrix.container_name }} WORKSPACE_FOLDER=${{ env.workspace_folder }}
121+
TAG=${{ github.ref_name }}
122+
TAG_VERSION=${TAG#v}
123+
make build BASE_IMAGE_TAG=$TAG_VERSION IMAGE_NAME=${{ env.registry }}/${{ env.image_prefix }}${{ matrix.container_name }} WORKSPACE_FOLDER=${{ env.workspace_folder }}
122124
123125
124126
- if: steps.changes.outputs.src == 'true' || startsWith(github.ref, 'refs/tags/v')

0 commit comments

Comments
 (0)