Skip to content

Commit

Permalink
Merge pull request #3 from Sandip117/master
Browse files Browse the repository at this point in the history
Allow workflow to build & push to ghcr.io
  • Loading branch information
Sandip117 authored Oct 19, 2021
2 parents cb69774 + d05d0fb commit af8a2e8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,13 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v2
Expand All @@ -100,6 +107,7 @@ jobs:
tags: |
${{ steps.determine.outputs.dock_image }}
localhost:5000/${{ steps.determine.outputs.dock_image }}
ghcr.io/${{ steps.determine.outputs.dock_image }}
platforms: linux/amd64,linux/ppc64le,linux/arm64
push: true
cache-from: type=local,src=/tmp/.buildx-cache
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name = 'simpledsapp',
version = '2.0.2',
version = '2.1.0',
description = 'A simple ChRIS ds app demo',
long_description = readme,
author = 'FNNDSC',
Expand Down

0 comments on commit af8a2e8

Please sign in to comment.