-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Andrew Harding <[email protected]>
- Loading branch information
Showing
1 changed file
with
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -63,7 +65,7 @@ jobs: | |
needs: [test-image] | ||
|
||
permissions: | ||
contents: read | ||
contents: write | ||
id-token: write | ||
packages: write | ||
|
||
|
@@ -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: | ||
|