Skip to content

Commit

Permalink
Release manifest with container image digest (#1250)
Browse files Browse the repository at this point in the history
  • Loading branch information
int128 authored Feb 26, 2025
1 parent 9c33752 commit a29c151
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 17 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
contents: read
packages: write
outputs:
image-uri: ghcr.io/${{ github.repository }}@${{ steps.build.outputs.digest }}
image-uri: ghcr.io/${{ github.repository }}:${{ github.ref_name }}@${{ steps.build.outputs.digest }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- id: go-version
Expand Down Expand Up @@ -70,6 +70,14 @@ jobs:
linux/amd64
linux/arm64
release:
needs: build
uses: int128/kubebuilder-workflows/.github/workflows/release.yaml@e4ad31a438f188f70bde87827a8dbe466e623dea # v1.5.0
permissions:
contents: write
with:
controller-image: ${{ needs.build.outputs.image-uri }}

e2e-test:
runs-on: ubuntu-latest
timeout-minutes: 10
Expand Down
16 changes: 0 additions & 16 deletions .github/workflows/release.yaml

This file was deleted.

0 comments on commit a29c151

Please sign in to comment.