-
-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3607d49
commit 220b571
Showing
5 changed files
with
24 additions
and
24 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
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 |
---|---|---|
|
@@ -49,10 +49,10 @@ jobs: | |
|
||
steps: | ||
- name: Free Disk Space (Ubuntu) | ||
uses: jlumbroso/[email protected] | ||
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1 | ||
|
||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | ||
|
||
- name: Matrix Variables | ||
run: | | ||
|
@@ -140,7 +140,7 @@ jobs: | |
docker rmi ${image} | ||
- name: Build ISOs | ||
uses: jasonn3/[email protected] | ||
uses: jasonn3/build-container-installer@834657681642011849b99b9e582722e5fb978321 # v1.2.0 | ||
id: build | ||
with: | ||
arch: x86_64 | ||
|
@@ -170,7 +170,7 @@ jobs: | |
- name: Upload ISOs and Checksum to Job Artifacts | ||
if: github.ref_name == 'testing' | ||
#if: github.event_name == 'pull_request' | ||
uses: actions/upload-artifact@v4 | ||
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4 | ||
with: | ||
name: ${{ steps.build.outputs.iso_name }} | ||
path: ${{ steps.upload-directory.outputs.iso-upload-dir }} | ||
|
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 |
---|---|---|
|
@@ -55,7 +55,7 @@ jobs: | |
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | ||
|
||
- name: Matrix Variables | ||
run: | | ||
|
@@ -84,24 +84,24 @@ jobs: | |
fi | ||
- name: Verify base image | ||
uses: EyeCantCU/cosign-action/[email protected] | ||
uses: EyeCantCU/cosign-action/verify@11f8c114a5e67c7a663c9dfcaf76d85429d254bc # v0.2.2 | ||
with: | ||
containers: ${{ env.BASE_IMAGE_NAME}}-${{ matrix.image_flavor }}:${{ matrix.fedora_version }} | ||
|
||
- name: Verify Chainguard images | ||
if: matrix.base_name != 'bluefin' && matrix.base_name != 'aurora' | ||
uses: EyeCantCU/cosign-action/[email protected] | ||
uses: EyeCantCU/cosign-action/verify@11f8c114a5e67c7a663c9dfcaf76d85429d254bc # v0.2.2 | ||
with: | ||
containers: dive, flux, helm, ko, minio, kubectl | ||
cert-identity: https://github.com/chainguard-images/images/.github/workflows/release.yaml@refs/heads/main | ||
oidc-issuer: https://token.actions.githubusercontent.com | ||
registry: cgr.dev/chainguard | ||
|
||
- name: Maximize build space | ||
uses: ublue-os/remove-unwanted-software@v7 | ||
uses: ublue-os/remove-unwanted-software@517622d6452028f266b7ba4cc9a123b5f58a6b53 # v7 | ||
|
||
- name: Check just syntax | ||
uses: ublue-os/just-action@v1 | ||
uses: ublue-os/just-action@961e70ef33d8e0ef5ecf19dbb20739f3c0ce873b # v1 | ||
|
||
- name: Generate tags | ||
id: generate-tags | ||
|
@@ -189,7 +189,7 @@ jobs: | |
# Build metadata | ||
- name: Image Metadata | ||
uses: docker/metadata-action@v5 | ||
uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5 | ||
id: meta | ||
with: | ||
images: | | ||
|
@@ -204,7 +204,7 @@ jobs: | |
# Build image using Buildah action | ||
- name: Build Image | ||
id: build_image | ||
uses: redhat-actions/buildah-build@v2 | ||
uses: redhat-actions/buildah-build@7a95fa7ee0f02d552a32753e7414641a04307056 # v2 | ||
with: | ||
containerfiles: | | ||
./Containerfile | ||
|
@@ -228,7 +228,7 @@ jobs: | |
--target=${{ env.TARGET_NAME }} | ||
- name: Sign kernel | ||
uses: ublue-os/[email protected] | ||
uses: ublue-os/kernel-signer@ba1d52542bbfd0db42a528f52a114e12667169e5 # v0.2.3 | ||
with: | ||
image: ${{ steps.build_image.outputs.image }} | ||
default-tag: ${{ env.DEFAULT_TAG }} | ||
|
@@ -242,13 +242,13 @@ jobs: | |
# https://github.com/macbre/push-to-ghcr/issues/12 | ||
- name: Lowercase Registry | ||
id: registry_case | ||
uses: ASzc/change-string-case-action@v6 | ||
uses: ASzc/change-string-case-action@d0603cd0a7dd490be678164909f65c7737470a7f # v6 | ||
with: | ||
string: ${{ env.IMAGE_REGISTRY }} | ||
|
||
# Push the image to GHCR (Image Registry) | ||
- name: Push To GHCR | ||
uses: redhat-actions/push-to-registry@v2 | ||
uses: redhat-actions/push-to-registry@5ed88d269cf581ea9ef6dd6806d01562096bee9c # v2 | ||
id: push | ||
if: github.event_name != 'pull_request' | ||
env: | ||
|
@@ -262,15 +262,15 @@ jobs: | |
password: ${{ env.REGISTRY_PASSWORD }} | ||
|
||
- name: Login to GitHub Container Registry | ||
uses: docker/login-action@v3 | ||
uses: docker/login-action@0d4c9c5ea7693da7b068278f7b52bda2a190a446 # v3 | ||
if: github.event_name != 'pull_request' | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
# Sign container | ||
- uses: sigstore/[email protected] | ||
- uses: sigstore/cosign-installer@59acb6260d9c0ba8f4a2f9d9b48431a222b68e20 # v3.5.0 | ||
if: github.event_name != 'pull_request' | ||
|
||
- name: Sign container image | ||
|
@@ -295,7 +295,7 @@ jobs: | |
|
||
- name: Upload artifact | ||
if: github.event_name != 'pull_request' | ||
uses: actions/upload-artifact@v4 | ||
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4 | ||
with: | ||
name: image-${{ env.IMAGE_NAME }}-${{ matrix.image_flavor }}-${{ matrix.fedora_version }} | ||
retention-days: 1 | ||
|
@@ -314,7 +314,7 @@ jobs: | |
- name: Download artifacts | ||
if: github.event_name != 'pull_request' | ||
id: download-artifacts | ||
uses: actions/download-artifact@v4 | ||
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4 | ||
with: | ||
pattern: image-* | ||
merge-multiple: true | ||
|
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
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