Skip to content

Commit 6921801

Browse files
committed
Pin ubi9 tag for Scanner V2 fetch and switch determine tag to ubi9
1 parent 06b5f92 commit 6921801

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tasks/determine-image-tag-task.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ spec:
3131
- use
3232
- $(params.SOURCE_ARTIFACT)=/var/workdir/source
3333
- name: determine-image-tag
34-
image: registry.access.redhat.com/ubi8:latest
34+
image: registry.access.redhat.com/ubi9:latest@sha256:1057dab827c782abcfb9bda0c3900c0966b5066e671d54976a7bcb3a2d1a5e53
3535
workingDir: /var/workdir/source
3636
script: |
3737
#!/usr/bin/env bash

tasks/fetch-scanner-v2-data-task.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ spec:
4545
- use
4646
- $(params.SOURCE_ARTIFACT)=/var/workdir/source
4747
- name: fetch-scanner-data
48-
image: registry.access.redhat.com/ubi9:latest
48+
image: registry.access.redhat.com/ubi9:latest@sha256:1057dab827c782abcfb9bda0c3900c0966b5066e671d54976a7bcb3a2d1a5e53
4949
# The only functioning way to pass array parameter that I found is through args array.
5050
# Array params have weird limitations, see https://github.com/tektoncd/pipeline/blob/main/docs/tasks.md#substituting-array-parameters
5151
# Attempts to pass this in other places result in webhook errors and pipeline not starting.

0 commit comments

Comments
 (0)