aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/action.yml
blob: 3e97dacbb5d00beac18137f7f0a5bd468ad6ab90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
name: PLIP Build

on:
  push

jobs:
  docker-hub:
    name: Deployment
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Deploy Step
        uses: docker/build-push-action@v1
        with:
          username: ${{ secrets.DOCKER_HUB_USER }}
          password: ${{ secrets.DOCKER_HUB_TOKEN }}
          repository: pharmai/plip
          tag_with_ref: true
          push: ${{ startsWith(github.ref, 'refs/tags/') }}