Skip to content

Commit

Permalink
Testing Hermetic build
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyd450 committed Nov 29, 2023
1 parent ab05bab commit 32f3941
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .tekton/gitsign-cli-0-8-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ spec:
value: .
- name: revision
value: '{{revision}}'
- name: prefetch-input
value: '{"type": "gomod", "path": "."}'
- name: hermetic
value: "true"
- name: build-source-image
value: "true"
pipelineSpec:
Expand Down
4 changes: 4 additions & 0 deletions .tekton/gitsign-cli-0-8-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ spec:
value: .
- name: revision
value: '{{revision}}'
- name: prefetch-input
value: '{"type": "gomod", "path": "."}'
- name: hermetic
value: "true"
- name: build-source-image
value: "true"
pipelineSpec:
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ RUN git stash && \
make -f Build.mak gitsign-cli-windows && \
gzip gitsign_cli_darwin_amd64 && \
gzip gitsign_cli_linux_amd64 && \
gzip gitsign_cli_windows_amd64.exe && \
ls -la
gzip gitsign_cli_windows_amd64.exe

# Install Gitsign
FROM registry.access.redhat.com/ubi9/ubi-minimal@sha256:b40f52aa68b29634ff45429ee804afbaa61b33de29ae775568933c71610f07a4
Expand Down

0 comments on commit 32f3941

Please sign in to comment.