-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #182 from stefanprodan/helm-oci
Published signed Helm charts to GHCR
- Loading branch information
Showing
3 changed files
with
24 additions
and
5 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 |
---|---|---|
|
@@ -17,6 +17,10 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- uses: imjasonh/[email protected] | ||
- uses: sigstore/cosign-installer@main | ||
- name: Setup Helm | ||
uses: ./.github/actions/helm | ||
with: | ||
version: 3.8.1 | ||
- name: Setup QEMU | ||
uses: docker/setup-qemu-action@v1 | ||
with: | ||
|
@@ -64,13 +68,19 @@ jobs: | |
org.opencontainers.image.revision=${{ github.sha }} | ||
org.opencontainers.image.version=${{ steps.prep.outputs.VERSION }} | ||
org.opencontainers.image.created=${{ steps.prep.outputs.BUILD_DATE }} | ||
- name: Publish Helm chart to GHCR | ||
run: | | ||
helm build charts/podinfo | ||
helm push podinfo-${{ steps.prep.outputs.VERSION }}.tgz oci://ghcr.io/stefanprodan/charts | ||
rm podinfo-${{ steps.prep.outputs.VERSION }}.tgz | ||
- name: Sign images | ||
env: | ||
COSIGN_EXPERIMENTAL: 1 | ||
run: | | ||
cosign sign docker.io/stefanprodan/podinfo:${{ steps.prep.outputs.VERSION }} | ||
cosign sign docker.io/stefanprodan/podinfo:latest | ||
cosign sign ghcr.io/stefanprodan/podinfo:${{ steps.prep.outputs.VERSION }} | ||
cosign sign ghcr.io/stefanprodan/charts/podinfo:${{ steps.prep.outputs.VERSION }} | ||
- name: Publish base image | ||
uses: docker/build-push-action@v2 | ||
with: | ||
|
@@ -108,6 +118,6 @@ jobs: | |
uses: goreleaser/goreleaser-action@v1 | ||
with: | ||
version: latest | ||
args: release --release-notes=/tmp/release.txt | ||
args: release --release-notes=/tmp/release.txt --skip-validate | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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