Skip to content

Commit

Permalink
ci: update holos-run/holos-action version
Browse files Browse the repository at this point in the history
When new container image versions are built, automatically update the
holos-run/holos-action to use the new version.

Users of the action automatically update by default as a result.
  • Loading branch information
jeffmccune committed Dec 23, 2024
1 parent 71b7280 commit 69a064e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,20 @@ jobs:
cosign sign --yes ghcr.io/holos-run/holos:${{ steps.sha.outputs.sha }}${{ steps.tags.outputs.suffix }}@${DIGEST}
cosign sign --yes quay.io/holos-run/holos:${{ steps.tags.outputs.detail }}${{ steps.tags.outputs.suffix }}@${DIGEST}
cosign sign --yes quay.io/holos-run/holos:${{ steps.sha.outputs.sha }}${{ steps.tags.outputs.suffix }}@${DIGEST}
- uses: actions/create-github-app-token@v1
id: app-token
with:
owner: ${{ github.repository_owner }}
app-id: ${{ vars.GORELEASER_APP_ID }}
private-key: ${{ secrets.GORELEASER_APP_PRIVATE_KEY }}
- name: Update holos-run/action default version
run: |
git config --global user.name 'GitHub Actions'
git config --global user.email '[email protected]'
git clone https://github.com/holos-run/holos-action
./scripts/update-version '${{ steps.tags.output.detail }}'
outputs:
sha: ${{ steps.sha.outputs.sha }}
detail: ${{ steps.tags.outputs.detail }}

0 comments on commit 69a064e

Please sign in to comment.