Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add missing stepTemplate for volume mounts #1267

Merged
merged 1 commit into from
Aug 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions task/push-dockerfile-oci-ta/0.1/push-dockerfile-oci-ta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ spec:
volumes:
- name: workdir
emptyDir: {}
stepTemplate:
volumeMounts:
- mountPath: /var/workdir
name: workdir
steps:
- name: use-trusted-artifact
image: quay.io/redhat-appstudio/build-trusted-artifacts:latest@sha256:601e0999ae062e5ee666538d651af7893a75e415b7952c85caa8a4452501029a
Expand All @@ -56,9 +60,6 @@ spec:
- name: push
image: quay.io/konflux-ci/oras@sha256:ecf9ba09b3a194a32ad82fe6e29ef7391cbc008e23d8d79698386d817a5572b3
workingDir: /var/workdir
volumeMounts:
- mountPath: /var/workdir
name: workdir
env:
- name: IMAGE
value: $(params.IMAGE)
Expand Down
1 change: 1 addition & 0 deletions task/push-dockerfile-oci-ta/0.1/recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
base: ../../push-dockerfile/0.1/push-dockerfile.yaml
add:
- use-source
preferStepTemplate: true
removeWorkspaces:
- workspace
replacements:
Expand Down
Loading