From 6742b87fe2853005eb44ad944378e0a0993d0bc1 Mon Sep 17 00:00:00 2001 From: Zach Aller Date: Fri, 14 Oct 2022 16:03:12 -0500 Subject: [PATCH] build: add sha256 checksums for all released bins (#2332) * build: add sha256 checksums for all released bins Signed-off-by: zachaller * Add shasum Signed-off-by: zachaller * rename file Signed-off-by: zachaller * shasum is included Signed-off-by: zachaller Signed-off-by: zachaller --- .github/workflows/release.yaml | 1 + hack/build-release-plugins.sh | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 7bb0c1dfb5..43080842a0 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -155,6 +155,7 @@ jobs: dist/kubectl-argo-rollouts-darwin-amd64 dist/kubectl-argo-rollouts-darwin-arm64 dist/kubectl-argo-rollouts-windows-amd64 + dist/argo-rollouts-checksums.txt manifests/dashboard-install.yaml manifests/install.yaml manifests/namespace-install.yaml diff --git a/hack/build-release-plugins.sh b/hack/build-release-plugins.sh index db5bcdbea7..390fbdadbc 100755 --- a/hack/build-release-plugins.sh +++ b/hack/build-release-plugins.sh @@ -14,5 +14,9 @@ container_id=$(docker create ${rollout_iid}) for plat in linux-amd64 linux-arm64 darwin-amd64 darwin-arm64 windows-amd64; do docker cp ${container_id}:/go/src/github.com/argoproj/argo-rollouts/dist/kubectl-argo-rollouts-${plat} ${SRCROOT}/dist done + docker rm -v ${container_id} rm -f ${rollout_iid_file} + +cd ${SRCROOT}/dist/ +shasum -a 256 kubectl-argo-rollouts-* > argo-rollouts-checksums.txt