Skip to content

Commit

Permalink
Merge pull request #10 from ruslan-forostianov/publish-docker-image
Browse files Browse the repository at this point in the history
Add GitHub Action to publish docker image
  • Loading branch information
inodb authored Jun 2, 2022
2 parents f6c0976 + fdce7b6 commit 8479402
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/docker-image.yml
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/') }}

0 comments on commit 8479402

Please sign in to comment.