Skip to content

Commit

Permalink
Merge pull request #19 from adaptyvbio/actions
Browse files Browse the repository at this point in the history
fix release tag actions
  • Loading branch information
elkoz authored Feb 24, 2023
2 parents 2f1edb0 + 717f51a commit 0d4b115
Showing 1 changed file with 20 additions and 29 deletions.
49 changes: 20 additions & 29 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

runs-on: ubuntu-latest

name: Push to PyPI
name: Push to PyPI and DockerHub

steps:
- uses: actions/checkout@v3
Expand All @@ -39,31 +39,22 @@ jobs:
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

update_docker:

runs-on: ubuntu-latest

name: Push to Dockerhub

steps:
- uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: adaptyvbio
password: ${{ secrets.DOCKER_PASS }}
- name: Build and push Docker image
run: |
docker build -t adaptyvbio/proteinflow:${{ github.event.release.tag_name }} .
docker image push adaptyvbio/proteinflow:${{ github.event.release.tag_name }}
- name: Push README to Dockerhub
uses: christian-korneck/update-container-description-action@v1
env:
DOCKER_USER: adaptyvbio
DOCKER_PASS: ${{ secrets.DOCKER_PASS }}
with:
destination_container_repo: adaptyvbio/proteinflow
provider: dockerhub
short_description: 'Versatile pipeline for processing protein structure data for deep learning applications.'
readme_file: 'README.md'
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: adaptyvbio
password: ${{ secrets.DOCKER_PASS }}
- name: Build and push Docker image
run: |
docker build -t adaptyvbio/proteinflow:${{ github.event.release.tag_name }} .
docker image push adaptyvbio/proteinflow:${{ github.event.release.tag_name }}
- name: Push README to Dockerhub
uses: christian-korneck/update-container-description-action@v1
env:
DOCKER_USER: adaptyvbio
DOCKER_PASS: ${{ secrets.DOCKER_PASS }}
with:
destination_container_repo: adaptyvbio/proteinflow
provider: dockerhub
short_description: 'Versatile pipeline for processing protein structure data for deep learning applications.'
readme_file: 'README.md'

0 comments on commit 0d4b115

Please sign in to comment.