Skip to content

Commit

Permalink
Add release job to action
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Jul 10, 2023
1 parent 2382cfc commit d550999
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,3 +205,15 @@ jobs:
REGISTRY_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
REGISTRY_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
needs: [amd64-push-dockerhub, arm64-push-dockerhub]

release:
runs-on: ubuntu-latest
needs: [merge-tags-ghcr, merge-tags-dockerhub]
steps:
- uses: actions/checkout@v3

- name: Create release
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
if: github.repository == 'aiidalab/aiidalab-docker-stack' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))

0 comments on commit d550999

Please sign in to comment.