diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index b9c60fca..92bcbc01 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -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'))