Skip to content

Commit

Permalink
Don't pass the pipeline's default platforms value to the publish-image
Browse files Browse the repository at this point in the history
task

We want to use the publish-image task's default platforms parameter
value which includes windows. build-base-image doesn't need to build for
windows, and fails if it's asked to.
  • Loading branch information
imjasonh authored and tekton-robot committed Oct 13, 2021
1 parent 391cafb commit 1f4d1f1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tekton/release-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,11 @@ spec:
value: $(params.imageRegistryPath)
- name: releaseAsLatest
value: $(params.releaseAsLatest)
- name: platforms
value: $(params.platforms)
- name: serviceAccountPath
value: $(params.serviceAccountPath)
# NOTE: We're purposefully *not* passing the pipeline's platforms to
# this task. We want to use the task's default platforms, which include
# windows.
workspaces:
- name: source
workspace: workarea
Expand Down

0 comments on commit 1f4d1f1

Please sign in to comment.