Skip to content

Commit

Permalink
Sync build-definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
RHTAP bot committed Feb 1, 2024
1 parent 442ae9b commit 8c41032
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pac/tasks/source-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
emptyDir: {}
steps:
- name: build
image: quay.io/redhat-appstudio/build-definitions-source-image-build-utils@sha256:7521b6e85d881be625e0f39e4bbd65c29628e2a9f2431dd825fda0a47f9e171e
image: quay.io/redhat-appstudio/build-definitions-source-image-build-utils@sha256:7a75affdfb09568f9de817f0b807edc67820c26f8644b11951f30c16aadf314f
# per https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
# the cluster will set imagePullPolicy to IfNotPresent
# also per direction from Ralph Bean, we want to use image digest based tags to use a cue to automation like dependabot or renovatebot to periodially submit pull requests that update the digest as new images are released.
Expand Down
4 changes: 2 additions & 2 deletions pac/tasks/tkn-bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
- name: TASK_FILE
value: tekton_task_files
steps:
- image: registry.access.redhat.com/ubi9/toolbox@sha256:7391628396216c011ed3a310f1fa54c6a9221e36f7fa59c94ae7796de51e7a25
- image: quay.io/redhat-appstudio/hacbs-test:latest@sha256:866675ee3064cf4768691ecca478063ce12f0556fb9d4f24ca95c98664ffbd43
name: modify-task-files
env:
- name: CONTEXT
Expand Down Expand Up @@ -104,7 +104,7 @@ spec:
if [[ -n "${STEPS_IMAGE}" ]]; then
for f in "${FILES[@]}"; do
yq e '(.spec.steps[] | select(has("image")).image) = "env(STEPS_IMAGE)"' -i $f
yq --in-place --yml-output '(.spec.steps[] | select(has("image")).image) = env.STEPS_IMAGE' "$f"
done
fi
Expand Down

0 comments on commit 8c41032

Please sign in to comment.