diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a5d9ff67..e9cd27e9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -30,11 +30,19 @@ jobs: - run: ko publish -B ./cmd/allstar --tags ${{ github.ref_name }} --image-refs allstar.ref env: KO_DOCKER_REPO: ghcr.io/${{ github.repository_owner }} - + - run: ko publish -B ./cmd/allstar --tags ${{ github.ref_name }}-busybox --image-refs allstar-busybox.ref + env: + KO_DOCKER_REPO: ghcr.io/${{ github.repository_owner }} + KO_DEFAULTBASEIMAGE: cgr.dev/chainguard/busybox - run: | echo "signing $(cat allstar.ref)" cosign sign --yes -a git_sha="$GITHUB_SHA" "$(cat allstar.ref)" + echo "signing $(cat allstar-busybox.ref)" + cosign sign --yes -a git_sha="$GITHUB_SHA" "$(cat allstar-busybox.ref)" - - run: gh release create ${{ github.ref_name }} --notes "ghcr.io/${{ github.repository_owner }}/allstar:${{ github.ref_name }}" + - run: | + gh release create ${{ github.ref_name }} --notes "Images: + * ghcr.io/${{ github.repository_owner }}/allstar:${{ github.ref_name }} + * ghcr.io/${{ github.repository_owner }}/allstar:${{ github.ref_name }}-busybox" env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}