Skip to content

Commit

Permalink
ci: publish docker image after new release
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonadoni committed Oct 26, 2023
1 parent 2890a68 commit 3b5f05a
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,26 @@ jobs:

- name: Build Docker image
run: ./run-tests.sh --check-docker-build

release-docker:
runs-on: ubuntu-20.04
if: >
github.repository_owner == 'reanahub' &&
github.event_name == 'push' &&
startsWith(github.ref, 'refs/tags/')
needs:
- lint-shellcheck
- lint-black
- lint-flake8
- lint-pydocstyle
- lint-check-manifest
- docs-sphinx
- python-tests
- lint-dockerfile
steps:
- name: Release docker image
uses: reanahub/reana-github-actions/release-docker@v1
with:
username: ${{ secrets.DOCKER_USER }}
token: ${{ secrets.DOCKER_TOKEN }}
organisation: ${{ secrets.DOCKER_ORGANISATION }}

0 comments on commit 3b5f05a

Please sign in to comment.