Skip to content

Commit

Permalink
fix: specify tag for oras image
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
tkdchen committed Aug 12, 2024
1 parent 14ef4e3 commit e02735e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion task/push-dockerfile/0.1/push-dockerfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e02735e

Please sign in to comment.