Skip to content

Commit

Permalink
Merge pull request #22 from maiqueb/use-github-releases
Browse files Browse the repository at this point in the history
ci: provide release manifests for user installation
  • Loading branch information
maiqueb authored Jun 10, 2024
2 parents 87cb39c + 0d28de1 commit ffd3f13
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/publish-img.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Push container image
- name: Push latest container image
if: github.repository_owner == 'maiqueb'
uses: docker/[email protected]
with:
Expand All @@ -57,3 +57,14 @@ jobs:
tags: ghcr.io/${{ github.repository }}:${{ github.ref_name }}
file: Dockerfile

- name: Template release manifests
if: startsWith(github.ref, 'refs/tags/')
run: IMG=${{ github.ref_name }} make build-installer

- name: Release the kraken
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
generate_release_notes: true
files: |
dist/install.yaml

0 comments on commit ffd3f13

Please sign in to comment.