Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 4 additions & 49 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env:
COSIGN_EXPERIMENTAL: 1
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
VERSION: 0.7.0
VERSION: 0.7.1

jobs:
build:
Expand All @@ -20,15 +20,15 @@ jobs:
image-digest: ${{ steps.image-info.outputs.image_digest }}
steps:
- name: Checkout source code
uses: actions/checkout@v3.1.0
uses: actions/checkout@v3.3.0

- name: Set up Carvel
uses: vmware-tanzu/carvel-setup-action@v1.2.0
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Log into container registry
uses: redhat-actions/podman-login@v1.4
uses: redhat-actions/podman-login@v1.5
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
uses: sigstore/cosign-installer@v2.8.1

- name: Log into container registry
uses: redhat-actions/podman-login@v1.4
uses: redhat-actions/podman-login@v1.5
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -114,48 +114,3 @@ jobs:
registry-username: ${{ github.actor }}
secrets:
registry-password: ${{ secrets.GITHUB_TOKEN }}

# provenance:
# name: Provenance
# runs-on: ubuntu-22.04
# needs: [build,sign]
# permissions:
# packages: write
# id-token: write
# env:
# IMAGE_RELEASE: ${{ needs.build.outputs.image-release }}
# PROVENANCE_FILE: provenance.att
# steps:
# - name: Install Cosign
# uses: sigstore/cosign-installer@v2.8.1

# - name: Log into container registry
# uses: redhat-actions/podman-login@v1.4
# with:
# username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }}
# registry: ${{ env.REGISTRY }}

# - name: Extract digest
# run: |
# digest=$(echo ${IMAGE_RELEASE} | cut -d "@" -f2)
# echo "IMAGE_DIGEST=${digest}" >> $GITHUB_ENV

# - name: Generate provenance
# uses: philips-labs/slsa-provenance-action@v0.7.2
# with:
# command: generate
# subcommand: container
# arguments: --repository ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} --tags ${{ env.VERSION }} --digest ${{ env.IMAGE_DIGEST }} --output-path ${{ env.PROVENANCE_FILE }}
# env:
# COSIGN_EXPERIMENTAL: 0

# - name: Attach provenance
# run: |
# jq '.predicate' "${PROVENANCE_FILE}" > provenance-predicate.att
# cosign attest --predicate provenance-predicate.att --type slsaprovenance "${IMAGE_RELEASE}"

# - uses: actions/upload-artifact@v3.1.1
# with:
# name: provenance.att
# path: ${{ env.PROVENANCE_FILE }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ You can install the Kadras package repository in a dedicated namespace using `kc
```shell
kubectl create namespace kadras-packages
kctrl package repository add -r kadras-repo \
--url ghcr.io/arktonix/kadras-packages:0.7.0 \
--url ghcr.io/arktonix/kadras-packages:0.7.1 \
-n kadras-packages
```

Expand Down