Skip to content

Commit

Permalink
Fix release workflow (#107)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Harding <[email protected]>
  • Loading branch information
azdagron authored Feb 28, 2023
1 parent 921b045 commit 5255ee6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,20 @@ jobs:
steps:
- name: Checkout
uses: actions/[email protected]
- name: Install regctl
uses: regclient/actions/regctl-installer@main
- name: Download archived image
uses: actions/[email protected]
with:
name: images
path: .
- name: Load archived image
run: |
zcat images.tar.gz
tar xvf images.tar.gz
make load-images
- name: Test image
run: |
docker tag ghcr.io/spiffe/spire-controller-manager:devel ghcr.io/spiffe/spire-controller-manager:nightly
docker tag "ghcr.io/${{ github.repository_owner }}/spire-controller-manager:devel" ghcr.io/spiffe/spire-controller-manager:devel
(cd demo; ./test.sh)
publish-image-and-release:
Expand All @@ -63,7 +65,7 @@ jobs:
needs: [test-image]

permissions:
contents: read
contents: write
id-token: write
packages: write

Expand All @@ -77,8 +79,6 @@ jobs:
with:
name: images
path: .
- name: Load archived image
run: zcat image.tar.gz | docker load
- name: Log in to GHCR
uses: docker/[email protected]
with:
Expand Down

0 comments on commit 5255ee6

Please sign in to comment.