From e653b769e3c54b32982c12aa5004fc42699924ab Mon Sep 17 00:00:00 2001 From: Chenxiong Qi Date: Mon, 12 Aug 2024 14:19:49 +0800 Subject: [PATCH] fix: specify tag for oras image By specifying the tag explicitly, the oras image gets update along with others in other tasks. Otherwise, two separate pull requests are created, one for tasks that reference oras image with tag latest and digest, and another one for this task. Signed-off-by: Chenxiong Qi --- task/push-dockerfile-oci-ta/0.1/push-dockerfile-oci-ta.yaml | 2 +- task/push-dockerfile/0.1/push-dockerfile.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/task/push-dockerfile-oci-ta/0.1/push-dockerfile-oci-ta.yaml b/task/push-dockerfile-oci-ta/0.1/push-dockerfile-oci-ta.yaml index 9c41707ea0..df63ade050 100644 --- a/task/push-dockerfile-oci-ta/0.1/push-dockerfile-oci-ta.yaml +++ b/task/push-dockerfile-oci-ta/0.1/push-dockerfile-oci-ta.yaml @@ -58,7 +58,7 @@ spec: - use - $(params.SOURCE_ARTIFACT)=/var/workdir/source - name: push - image: quay.io/konflux-ci/oras@sha256:ecf9ba09b3a194a32ad82fe6e29ef7391cbc008e23d8d79698386d817a5572b3 + image: quay.io/konflux-ci/oras:latest@sha256:ecf9ba09b3a194a32ad82fe6e29ef7391cbc008e23d8d79698386d817a5572b3 workingDir: /var/workdir env: - name: IMAGE diff --git a/task/push-dockerfile/0.1/push-dockerfile.yaml b/task/push-dockerfile/0.1/push-dockerfile.yaml index df17377ff9..e1417c16f0 100644 --- a/task/push-dockerfile/0.1/push-dockerfile.yaml +++ b/task/push-dockerfile/0.1/push-dockerfile.yaml @@ -39,7 +39,7 @@ spec: description: Digest-pinned image reference to the Dockerfile image. steps: - name: push - image: quay.io/konflux-ci/oras@sha256:ecf9ba09b3a194a32ad82fe6e29ef7391cbc008e23d8d79698386d817a5572b3 + image: quay.io/konflux-ci/oras:latest@sha256:ecf9ba09b3a194a32ad82fe6e29ef7391cbc008e23d8d79698386d817a5572b3 workingDir: $(workspaces.workspace.path) env: - name: IMAGE