Skip to content

Commit b05ed14

Browse files
authored
Update build-and-push.yaml
1 parent cb1a7a2 commit b05ed14

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build-and-push.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,27 +54,27 @@ jobs:
5454
echo "SHA: ${{ github.event.pull_request.head.sha }}"
5555
echo "MAIN IMAGE AT: ${{ vars.QUAY_RELEASE_REPO }}:latest"
5656
echo "CI IMAGE AT: quay.io/trustyai/guardrails-detector-huggingface-runtime-ci:${{ github.event.pull_request.head.sha }}"
57-
echo "Built-In Detector CI IMAGE AT: quay.io/trustyai/guardrails-detector-builtin-ci:${{ github.event.pull_request.head.sha }}"
57+
echo "Built-In Detector CI IMAGE AT: quay.io/trustyai/guardrails-detector-built-in-ci:${{ github.event.pull_request.head.sha }}"
5858
5959
# Set environments depending on context
6060
- name: Set CI environment
6161
if: env.BUILD_CONTEXT == 'ci'
6262
run: |
6363
echo "TAG=${{ github.event.pull_request.head.sha }}" >> $GITHUB_ENV
6464
echo "IMAGE_NAME=quay.io/trustyai/guardrails-detector-huggingface-runtime-ci" >> $GITHUB_ENV
65-
echo "BUILTIN_IMAGE_NAME=quay.io/trustyai/guardrails-detector-builtin-ci" >> $GITHUB_ENV
65+
echo "BUILTIN_IMAGE_NAME=quay.io/trustyai/guardrails-detector-built-in-ci" >> $GITHUB_ENV
6666
- name: Set main-branch environment
6767
if: env.BUILD_CONTEXT == 'main'
6868
run: |
6969
echo "TAG=latest" >> $GITHUB_ENV
7070
echo "IMAGE_NAME=${{ vars.QUAY_RELEASE_REPO }}" >> $GITHUB_ENV
71-
echo "BUILTIN_IMAGE_NAME=quay.io/trustyai/guardrails-detector-builtin" >> $GITHUB_ENV
71+
echo "BUILTIN_IMAGE_NAME=quay.io/trustyai/guardrails-detector-built-in" >> $GITHUB_ENV
7272
- name: Set tag environment
7373
if: env.BUILD_CONTEXT == 'tag'
7474
run: |
7575
echo "TAG=${{ github.ref_name }}" >> $GITHUB_ENV
7676
echo "IMAGE_NAME=${{ vars.QUAY_RELEASE_REPO }}" >> $GITHUB_ENV
77-
echo "BUILTIN_IMAGE_NAME=quay.io/trustyai/guardrails-detector-builtin" >> $GITHUB_ENV
77+
echo "BUILTIN_IMAGE_NAME=quay.io/trustyai/guardrails-detector-built-in" >> $GITHUB_ENV
7878
#
7979
# Run docker commands
8080
- name: Put expiry date on CI-tagged image
@@ -113,7 +113,7 @@ jobs:
113113
PR image build completed successfully!
114114
115115
📦 [PR image](https://quay.io/repository/trustyai/guardrails-detector-huggingface-runtime-ci?tab=tags): `quay.io/trustyai/guardrails-detector-huggingface-runtime-ci:${{ github.event.pull_request.head.sha }}`
116-
📦 [PR image](https://quay.io/trustyai/guardrails-detector-builtin?tab=tags): `quay.io/trustyai/guardrails-detector-builtin-ci:${{ github.event.pull_request.head.sha }}`
116+
📦 [PR image](https://quay.io/trustyai/guardrails-detector-built-in-ci?tab=tags): `quay.io/trustyai/guardrails-detector-built-in-ci:${{ github.event.pull_request.head.sha }}`
117117
- name: Trivy scan
118118
uses: aquasecurity/[email protected]
119119
with:

0 commit comments

Comments
 (0)