Skip to content

Commit 6754a37

Browse files
authored
Update build-and-push-hf.yaml
1 parent 062d960 commit 6754a37

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,27 +55,27 @@ jobs:
5555
echo "SHA: ${{ github.event.pull_request.head.sha }}"
5656
echo "MAIN IMAGE AT: ${{ vars.QUAY_RELEASE_REPO }}:latest"
5757
echo "CI IMAGE AT: quay.io/trustyai/guardrails-detector-huggingface-runtime-ci:${{ github.event.pull_request.head.sha }}"
58-
echo "Built-In Detector CI IMAGE AT: quay.io/trustyai/regex-detector-ci:${{ github.event.pull_request.head.sha }}"
58+
echo "Built-In Detector CI IMAGE AT: quay.io/trustyai/builtin-detector-ci:${{ github.event.pull_request.head.sha }}"
5959
6060
# Set environments depending on context
6161
- name: Set CI environment
6262
if: env.BUILD_CONTEXT == 'ci'
6363
run: |
6464
echo "TAG=${{ github.event.pull_request.head.sha }}" >> $GITHUB_ENV
6565
echo "IMAGE_NAME=quay.io/trustyai/guardrails-detector-huggingface-runtime-ci" >> $GITHUB_ENV
66-
echo "BUILTIN_IMAGE_NAME=quay.io/trustyai/regex-detector-ci" >> $GITHUB_ENV
66+
echo "BUILTIN_IMAGE_NAME=quay.io/trustyai/builtin-detector-ci" >> $GITHUB_ENV
6767
- name: Set main-branch environment
6868
if: env.BUILD_CONTEXT == 'main'
6969
run: |
7070
echo "TAG=latest" >> $GITHUB_ENV
7171
echo "IMAGE_NAME=${{ vars.QUAY_RELEASE_REPO }}" >> $GITHUB_ENV
72-
echo "BUILTIN_IMAGE_NAME=quay.io/trustyai/regex-detector" >> $GITHUB_ENV
72+
echo "BUILTIN_IMAGE_NAME=quay.io/trustyai/builtin-detector" >> $GITHUB_ENV
7373
- name: Set tag environment
7474
if: env.BUILD_CONTEXT == 'tag'
7575
run: |
7676
echo "TAG=${{ github.ref_name }}" >> $GITHUB_ENV
7777
echo "IMAGE_NAME=${{ vars.QUAY_RELEASE_REPO }}" >> $GITHUB_ENV
78-
echo "BUILTIN_IMAGE_NAME=quay.io/trustyai/regex-detector" >> $GITHUB_ENV
78+
echo "BUILTIN_IMAGE_NAME=quay.io/trustyai/builtin-detector" >> $GITHUB_ENV
7979
#
8080
# Run docker commands
8181
- name: Put expiry date on CI-tagged image
@@ -114,7 +114,7 @@ jobs:
114114
PR image build completed successfully!
115115
116116
📦 [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 }}`
117-
📦 [PR image](https://quay.io/trustyai/regex-detector-ci?tab=tags): `quay.io/trustyai/regex-detector-ci:${{ github.event.pull_request.head.sha }}`
117+
📦 [PR image](https://quay.io/trustyai/builtin-detector-ci?tab=tags): `quay.io/trustyai/builtin-detector-ci:${{ github.event.pull_request.head.sha }}`
118118
- name: Trivy scan
119119
uses: aquasecurity/[email protected]
120120
with:

0 commit comments

Comments
 (0)