Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit 26611c6

Browse files
committed
Remove image Tag from third party image
1 parent 69b3727 commit 26611c6

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -396,15 +396,19 @@ jobs:
396396
--set="image.tag=sha-$(git rev-parse --short HEAD)" \
397397
--set="attribute.name=severity" \
398398
--set="attribute.value=high"
399-
helm -n integration-tests install test-scan ./scanners/test-scan/ --set="parserImage.tag=sha-$(git rev-parse --short HEAD)"
399+
helm -n integration-tests install test-scan ./scanners/test-scan/ \
400+
--set="parserImage.tag=sha-$(git rev-parse --short HEAD)"
400401
cd tests/integration/
401402
npx jest --ci --color read-write-hook
402403
helm -n integration-tests uninstall test-scan update-category update-severity
403404
- name: "Hooks (ReadOnly) Integration Tests"
404405
run: |
405-
helm -n integration-tests install test-scan ./scanners/test-scan/ --set="parserImage.tag=sha-$(git rev-parse --short HEAD)"
406-
helm -n integration-tests install http-webhook ./demo-apps/http-webhook --set="image.tag=sha-$(git rev-parse --short HEAD)"
407-
helm -n integration-tests install ro-hook ./hooks/generic-webhook/ --set="webhookUrl=http://http-webhook/hallo-welt" --set="image.tag=sha-$(git rev-parse --short HEAD)"
406+
helm -n integration-tests install test-scan ./scanners/test-scan/ \
407+
--set="parserImage.tag=sha-$(git rev-parse --short HEAD)"
408+
helm -n integration-tests install http-webhook ./demo-apps/http-webhook
409+
helm -n integration-tests install ro-hook ./hooks/generic-webhook/ \
410+
--set="webhookUrl=http://http-webhook/hallo-welt" \
411+
--set="image.tag=sha-$(git rev-parse --short HEAD)"
408412
cd tests/integration/
409413
npx jest --ci --color read-only-hook
410414
helm -n integration-tests uninstall test-scan http-webhook ro-hook

0 commit comments

Comments
 (0)