Skip to content

Commit

Permalink
Merge pull request #1536 from zregvart/issue/EC-540
Browse files Browse the repository at this point in the history
Build linux_amd64 target for PRs on Tekton
  • Loading branch information
simonbaird authored Apr 19, 2024
2 parents eb5993f + 09e76e4 commit 3879741
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .tekton/cli-main-ci-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ spec:
value: '{{revision}}'
- name: build-source-image
value: 'true'
- name: build-args-file
value: quick-build-args.conf
pipelineSpec:
finally:
- name: show-sbom
Expand Down Expand Up @@ -222,6 +224,8 @@ spec:
value: $(params.image-expires-after)
- name: COMMIT_SHA
value: $(tasks.clone-repository.results.commit)
- name: BUILD_ARGS_FILE
value: "$(params.build-args-file)"
runAfter:
- prefetch-dependencies
taskRef:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.dist
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ COPY --from=download /download/cosign /usr/local/bin/cosign
# Copy all the binaries so they're available to extract and download
# (Beware if you're testing this locally it will copy everything from
# your dist directory, not just the freshly built binaries.)
COPY --from=build /build/dist/ /usr/local/bin/
COPY --from=build /build/dist/* /usr/local/bin/

# Gzip them because that's what the cli downloader image expects, see
# https://github.com/securesign/sigstore-ocp/blob/main/images/Dockerfile-clientserver
Expand Down
1 change: 1 addition & 0 deletions quick-build-args.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
BUILD_LIST=linux_amd64

0 comments on commit 3879741

Please sign in to comment.