Skip to content

Commit

Permalink
Merge pull request #38 from ArieLevs/pybump-image-arm-support
Browse files Browse the repository at this point in the history
Pybump image arm support
  • Loading branch information
ArieLevs committed Dec 22, 2022
2 parents e0a49e8 + 9519f6e commit d8a636f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,17 +115,40 @@ jobs:
--password ${{ secrets.PYPI_PASSWORD }} \
--repository-url https://upload.pypi.org/legacy/
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: docker.io/arielev/pybump

- name: Build and push docker image
uses: docker/build-push-action@v3
with:
platforms: linux/amd64,linux/arm64
push: true
tags: arielev/pybump:${{ steps.app_version_bump.outputs.app_version }},arielev/pybump:latest
labels: ${{ steps.meta.outputs.labels }}

- name: Update Docker Hub Description
if: github.ref == 'refs/heads/master'
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
readme-filepath: ./README.rst
repository: arielev/pybump

commit:
if: github.ref == 'refs/heads/master'
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

setuptools.setup(
name="pybump",
version="1.9.3",
version="1.10.0",
author="Arie Lev",
author_email="levinsonarie@gmail.com",
description="Python version bumper",
Expand Down

0 comments on commit d8a636f

Please sign in to comment.