Skip to content

Commit

Permalink
Update publish-docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zhx828 committed Jul 15, 2021
1 parent a9e8b77 commit 601bd44
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ jobs:
uses: actions/checkout@v1
- name: Build and Push Docker Image on Tag
uses: docker/build-push-action@v1.0.1
env:
TAG_NAME: ${{ github.event.release.tag_name }}
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: oncokb/oncokb-sop
tag_with_ref: true
push: ${{ startsWith(github.ref, 'refs/tags/v') }}
push: true
tags: oncokb/oncokb-sop:${TAG_NAME:1}

0 comments on commit 601bd44

Please sign in to comment.