-
-
Notifications
You must be signed in to change notification settings - Fork 262
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fixup build action signing (#1828)
* fix: move tag to inner for loop to avoid var being blank * chore: remove unused outputs step
- Loading branch information
Showing
1 changed file
with
2 additions
and
7 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 |
---|---|---|
|
@@ -391,9 +391,9 @@ jobs: | |
echo "${{ secrets.GITHUB_TOKEN }}" | sudo podman login ghcr.io -u ${{ github.actor }} --password-stdin | ||
for tag in ${{ steps.generate-tags.outputs.alias_tags }}; do | ||
sudo skopeo copy ${{ steps.rechunk.outputs.ref }} docker://${{ steps.registry_case.outputs.lowercase }}/${{ env.IMAGE_NAME }}:$tag | ||
# Keep one tag for signing | ||
echo "sign_tag=$tag" >> $GITHUB_OUTPUT | ||
done | ||
# Keep one tag for signing | ||
echo "sign_tag=$tag" >> $GITHUB_OUTPUT | ||
- name: Sign container image | ||
uses: EyeCantCU/cosign-action/[email protected] | ||
|
@@ -404,11 +404,6 @@ jobs: | |
signing-secret: ${{ secrets.SIGNING_SECRET }} | ||
tags: ${{ steps.push.outputs.sign_tag }} | ||
|
||
- name: Echo outputs | ||
if: github.event_name != 'pull_request' | ||
run: | | ||
echo "${{ toJSON(steps.push.outputs) }}" | ||
generate_release: | ||
name: Generate Release | ||
needs: [push-ghcr] | ||
|