Skip to content

Commit

Permalink
changed workflow to gh packages
Browse files Browse the repository at this point in the history
  • Loading branch information
GeertvanGeest committed Apr 7, 2021
1 parent c7a5c44 commit 6f5925d
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 20 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/push_to_dockerhub.yml

This file was deleted.

42 changes: 42 additions & 0 deletions .github/workflows/push_to_gh_packages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Publish Docker image
on:
release:
types: [published]
jobs:
push_to_registry:
name: Push Docker image to GitHub Packages
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Push to GitHub Packages
uses: docker/build-push-action@v1
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: docker.pkg.github.com
path: Docker
repository: sib-swiss/ngs-variants-training/ngs-variants-jupyter
tag_with_ref: true


# name: Publish Docker image
# on:
# release:
# types: [published]
# jobs:
# push_to_registry:
# name: Push Docker image to Docker Hub
# runs-on: ubuntu-latest
# steps:
# - name: Check out the repo
# uses: actions/checkout@v2
# - name: Push to Docker Hub
# uses: docker/build-push-action@v1
# with:
# username: ${{ secrets.DOCKER_USERNAME }}
# password: ${{ secrets.DOCKER_PASSWORD }}
# repository: geertvangeest/ngs-variants-jupyter
# path: Docker
# tags: latest
# tag_with_ref: true

0 comments on commit 6f5925d

Please sign in to comment.