We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1901e09 commit 5d947b0Copy full SHA for 5d947b0
.github/workflows/k8s-publish-test-base-image.yaml
@@ -16,6 +16,12 @@ jobs:
16
BASE_IMAGE_TAG: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }}.dkr.ecr.${{ secrets.QA_AWS_REGION }}.amazonaws.com/test-base-image:${{ github.ref_name }}
17
steps:
18
- 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
25
- name: Build Base Image
26
uses: goplugin/plugin-github-actions/docker/build-push@e29366cdecfe6befff9ab8c3cfe4825218505d58 # v2.3.16
27
with:
0 commit comments