Skip to content

Commit

Permalink
use generated release notes for gitops-template (#2271)
Browse files Browse the repository at this point in the history
* use generated release notes for gitops-template

* fix org

* remove dockerhub publish
  • Loading branch information
jarededwards authored Aug 28, 2024
1 parent 6a7998e commit 1060f5a
Showing 1 changed file with 2 additions and 33 deletions.
35 changes: 2 additions & 33 deletions .github/workflows/releaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
uses: actions/checkout@v2
- name: Update version file
run: echo $GITHUB_REF_NAME > VERSION.md
- name: Release kubefirst/gitops-template
run: gh release create -R kubefirst/gitops-template ${{ github.REF_NAME }} --notes "${{ env.RELEASE_NOTES }}"
- name: Release konstructio/gitops-template
run: gh release create -R konstructio/gitops-template ${{ github.REF_NAME }} --generate-notes
goreleaser:
runs-on: ubuntu-latest
steps:
Expand All @@ -41,34 +41,3 @@ jobs:
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

release-docker:
needs: goreleaser
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
with:
push: true
context: ./build
build-args: KUBEFIRST_VERSION=${{ github.REF_NAME }}
file: ./build/Dockerfile
tags: kubefirst/kubefirst:${{ github.REF_NAME }},kubefirst/kubefirst:latest
- name: Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: kubefirst/kubefirst
short-description: ${{ github.event.repository.description }}

0 comments on commit 1060f5a

Please sign in to comment.