Skip to content
This repository has been archived by the owner on May 25, 2023. It is now read-only.

Commit

Permalink
Move releasing to build yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Fastjur committed Jun 3, 2022
1 parent e948422 commit 264f6ca
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 20 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Train model, build containers and create a new version tag
name: Train model, build and release

on:
push:
Expand Down Expand Up @@ -61,3 +61,10 @@ jobs:
run: |
docker image push --all-tags ghcr.io/fastjur/nidhogg/nidhogg-inference
docker image push --all-tags ghcr.io/fastjur/nidhogg/nidhogg-frontend
- name: Create a Release
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/main'
uses: ncipollo/[email protected]
with:
generateReleaseNotes: true
tag: ${{ steps.bumpVersion.outputs.tag }}
19 changes: 0 additions & 19 deletions .github/workflows/release.yaml

This file was deleted.

0 comments on commit 264f6ca

Please sign in to comment.