forked from cilium/cilium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: André Martins <andre@cilium.io>
- Loading branch information
Showing
5 changed files
with
144 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
name: Image Release Build | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- ft/main/** | ||
|
||
permissions: | ||
# To be able to access the repository with `actions/checkout` | ||
contents: read | ||
# Required to generate OIDC tokens for `sigstore/cosign-installer` authentication | ||
id-token: write | ||
|
||
jobs: | ||
image-digests: | ||
name: Display Digests | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Getting image tag | ||
id: tag | ||
run: | | ||
echo tag="v1.16.0-pre.3" >> $GITHUB_OUTPUT | ||
- name: Downloading Image Digests | ||
shell: bash | ||
run: | | ||
mkdir -p image-digest/ | ||
- name: Download digests of all images built | ||
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7 | ||
with: | ||
path: image-digest/ | ||
repository: cilium/cilium | ||
run-id: 9357681504 | ||
|
||
- name: Image Digests Output | ||
shell: bash | ||
run: | | ||
cd image-digest/ | ||
find -type f -regex "image-digest.*" | sort | ||
echo "## Docker Manifests" > ../image-digest-output.txt | ||
echo "" >> ../image-digest-output.txt | ||
find -type f -regex "image-digest.*" | sort | xargs -d '\n' cat >> ../image-digest-output.txt | ||
- name: Image Makefile Digests | ||
shell: bash | ||
run: | | ||
cd image-digest/ | ||
echo "# File generated by .github/workflows/build-images-releases.yaml; DO NOT EDIT." > ../Makefile.digests | ||
echo "# Copyright "$(date +'%Y')" Authors of Cilium" >> ../Makefile.digests | ||
echo "# SPDX-License-Identifier: Apache-2.0" >> ../Makefile.digests | ||
echo "" >> ../Makefile.digests | ||
find -type f -name "makefile-digest.txt" | sort | xargs -d '\n' awk '{print "export " $0}' >> ../Makefile.digests | ||
# Upload artifact digests | ||
- name: Upload artifact digests | ||
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 | ||
with: | ||
name: image-digest-output.txt-${{ steps.tag.outputs.tag }} | ||
path: image-digest-output.txt | ||
retention-days: 10 | ||
|
||
# Upload artifact digests | ||
- name: Upload artifact digests | ||
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3 | ||
with: | ||
name: Makefile.digests-${{ steps.tag.outputs.tag }} | ||
path: Makefile.digests | ||
retention-days: 10 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# File generated by .github/workflows/build-images-releases.yaml; DO NOT EDIT. | ||
# Copyright Authors of Cilium | ||
# Copyright 2024 Authors of Cilium | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
export CILIUM_DIGEST := "" | ||
export CLUSTERMESH_APISERVER_DIGEST := "" | ||
export DOCKER_PLUGIN_DIGEST := "" | ||
export HUBBLE_RELAY_DIGEST := "" | ||
export OPERATOR_AWS_DIGEST := "" | ||
export OPERATOR_AZURE_DIGEST := "" | ||
export OPERATOR_ALIBABACLOUD_DIGEST := "" | ||
export OPERATOR_GENERIC_DIGEST := "" | ||
export OPERATOR_DIGEST := "" | ||
export CILIUM_DIGEST := "sha256:9918241403727d99cdba7067134dc99024c8f367fc8dbeec7aa5a7c84260d8f6" | ||
export CLUSTERMESH_APISERVER_DIGEST := "sha256:9348958f91942d81481878e57e6bda75463658240b51fedc9547c2024d848066" | ||
export DOCKER_PLUGIN_DIGEST := "sha256:446abb18b76590edb4ad35c8c410acae308030d611cb8809b58c53547afc0733" | ||
export HUBBLE_RELAY_DIGEST := "sha256:41964978c06687d3db7afd29ed8205a3472c5de1d9c71a7a39b9640c651d4487" | ||
export OPERATOR_ALIBABACLOUD_DIGEST := "sha256:0fbbf357ae5e62f1d0777ce34c1fb6d19e1f7b5a25c5100346d34f8cf6ad1730" | ||
export OPERATOR_AWS_DIGEST := "sha256:843d6c5094655448e8d1e81b46d334e00444f58bbb9e95575bd042af6871e1f0" | ||
export OPERATOR_AZURE_DIGEST := "sha256:5682ca7ad8eea47abacad4dae2ff62d98f8f1938dcd7f17a403b673599b8b258" | ||
export OPERATOR_GENERIC_DIGEST := "sha256:565c92df436f801fa5ff3bbb8becac65114818c43e3bcaecf956c0d4c120b5a6" | ||
export OPERATOR_DIGEST := "sha256:2f114fc9627a43b435160d587e0128e0fe9256d5c0ff2dde4f703ddd807d9717" |
Oops, something went wrong.