Skip to content

Commit

Permalink
Updated CI to push ghcr & version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandip117 committed Oct 25, 2021
1 parent f046c32 commit 17f876c
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
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 = 'mgz2imageslices',
version = '2.0.10',
version = '2.1.0',
description = 'An app to convert 3d mgz files to 2s slices of readable formats like PNG/JPEG',
long_description = readme,
author = 'Arushi Vyas',
Expand Down

0 comments on commit 17f876c

Please sign in to comment.