Skip to content

Commit

Permalink
Build and release pipeline (#9)
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Hildebrandt <[email protected]>
  • Loading branch information
paulphys authored Jul 9, 2024
1 parent 111161d commit b8510c3
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: release-and-build
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Release
uses: softprops/action-gh-release@v2
with:
files: ${{ github.workspace }}
generate_release_notes: true
make_latest: true
build:
runs-on: ubuntu-latest
container: docker
steps:
- uses: actions/checkout@v4
name: Build and push docker image
- run: |
docker build . -t registry.scs.community/cluster-gen/cluster-gen:${{ github.ref_name }}
docker login registry.scs.community -u ${{ secrets.REGISTRY_USER }} -p ${{ secrets.REGISTRY_TOKEN }}
docker push registry.scs.community/cluster-gen/cluster-gen:${{ github.ref_name }}

0 comments on commit b8510c3

Please sign in to comment.