Skip to content

Commit

Permalink
Replace the hash tag with latest
Browse files Browse the repository at this point in the history
Renovate PRs for this image are not created, the debug message says

DEBUG: Dependency quay.io/konflux-ci/source-container-build has unsupported/unversioned value 9ad131acf5154d2f280b7b46a1abc543952d325c (versioning=docker)

Replacing the hash tag with latest might work, as successfull PRs are
created for images in this format, e.g.
#1478

Signed-off-by: mkosiarc <[email protected]>
  • Loading branch information
mkosiarc committed Nov 6, 2024
1 parent 58373d5 commit 1fa48af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion task/source-build-oci-ta/0.1/source-build-oci-ta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ spec:
| .name + "@" + $matched.digest
' <<<"$sbom" | tee "$BASE_IMAGES_FILE"
- name: build
image: quay.io/konflux-ci/source-container-build:9ad131acf5154d2f280b7b46a1abc543952d325c@sha256:94271c32e4578208ac90308695d2b625d4e932d65f0cdd116b200c39228f5ece
image: quay.io/konflux-ci/source-container-build:latest@sha256:94271c32e4578208ac90308695d2b625d4e932d65f0cdd116b200c39228f5ece
workingDir: /var/workdir
env:
- name: SOURCE_DIR
Expand Down
2 changes: 1 addition & 1 deletion task/source-build/0.1/source-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ spec:
' <<< "$sbom" | tee "$BASE_IMAGES_FILE"
- name: build
image: quay.io/konflux-ci/source-container-build:9ad131acf5154d2f280b7b46a1abc543952d325c@sha256:94271c32e4578208ac90308695d2b625d4e932d65f0cdd116b200c39228f5ece
image: quay.io/konflux-ci/source-container-build:latest@sha256:94271c32e4578208ac90308695d2b625d4e932d65f0cdd116b200c39228f5ece
# per https://kubernetes.io/docs/concepts/containers/images/#imagepullpolicy-defaulting
# the cluster will set imagePullPolicy to IfNotPresent
computeResources:
Expand Down

0 comments on commit 1fa48af

Please sign in to comment.