-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GitHub Action to publish docker image
- Loading branch information
Ruslan Forostianov
authored and
Ruslan Forostianov
committed
Jun 2, 2022
1 parent
f6c0976
commit fdce7b6
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Publish Docker Image on Tag | ||
on: | ||
push: | ||
tags: '*' | ||
jobs: | ||
build_and_publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 'Checkout git repo' | ||
uses: actions/checkout@v1 | ||
- name: Publish Docker Image on Tag | ||
uses: docker/build-push-action@v1 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
repository: genomenexus/genome-nexus-vep | ||
tag_with_ref: true | ||
push: ${{ startsWith(github.ref, 'refs/tags/') }} |