Skip to content

Commit 8a6b21b

Browse files
authored
add cosign to jenkins agent base (#1327)
1 parent 332342e commit 8a6b21b

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44

55
### Added
66

7-
- Add packages carvel/imgpkg and yg ([#1322](https://github.com/opendevstack/ods-core/issues/1322))
7+
- Add packages carvel/imgpkg and yq ([#1322](https://github.com/opendevstack/ods-core/issues/1322))
88
- Adde mask-passwords and office 365 connector plugins in Jenkins ([#1313](https://github.com/opendevstack/ods-core/issues/1313)) and ([#1316](https://github.com/opendevstack/ods-core/issues/1316))
9+
- Add package cosign ([#1323](https://github.com/opendevstack/ods-core/issues/1323))
910

1011
### Changed
1112
- Updated Aqua CLI ([#1325](https://github.com/opendevstack/ods-core/pull/1325))

jenkins/agent-base/Dockerfile.ubi8

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
44

55
ENV SONAR_SCANNER_VERSION=6.2.1.4610 \
66
CNES_REPORT_VERSION=5.0.0 \
7+
COSIGN_VERSION=2.4.3 \
78
TAILOR_VERSION=1.3.4 \
89
SOPS_VERSION=3.9.0 \
910
HELM_VERSION=3.15.4 \
@@ -63,6 +64,13 @@ RUN cd /tmp \
6364
&& mv cnesreport.jar /usr/local/cnes/cnesreport.jar \
6465
&& chmod 777 /usr/local/cnes/cnesreport.jar
6566

67+
# Install sigstore/cosign
68+
RUN cd /tmp \
69+
&& curl -sSLO https://github.com/sigstore/cosign/releases/download/v${COSIGN_VERSION}/cosign-linux-amd64 \
70+
&& mv /tmp/cosign-linux-amd64 /usr/local/bin/cosign \
71+
&& chmod 755 /usr/local/bin/cosign \
72+
&& cosign version
73+
6674
# Install Tailor.
6775
RUN cd /tmp \
6876
&& curl -sSLO https://github.com/opendevstack/tailor/releases/download/v${TAILOR_VERSION}/tailor-linux-amd64 \

0 commit comments

Comments
 (0)