Skip to content

Commit 5d947b0

Browse files
author
nareshmmr
committed
base 1 commit
1 parent 1901e09 commit 5d947b0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/k8s-publish-test-base-image.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ jobs:
1616
BASE_IMAGE_TAG: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }}.dkr.ecr.${{ secrets.QA_AWS_REGION }}.amazonaws.com/test-base-image:${{ github.ref_name }}
1717
steps:
1818
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
19+
20+
- name: Strip "lib/" from github.ref_name
21+
run: |
22+
stripped_ref_name="${GITHUB_REF//refs\/tags\/lib\//}"
23+
echo "BASE_IMAGE_TAG=${{ secrets.QA_AWS_ACCOUNT_NUMBER }}.dkr.ecr.${{ secrets.QA_AWS_REGION }}.amazonaws.com/test-base-image:$stripped_ref_name" >> $GITHUB_ENV
24+
1925
- name: Build Base Image
2026
uses: goplugin/plugin-github-actions/docker/build-push@e29366cdecfe6befff9ab8c3cfe4825218505d58 # v2.3.16
2127
with:

0 commit comments

Comments
 (0)