Skip to content

Commit d188784

Browse files
committed
Fixes in github release actions
1 parent 2524e6d commit d188784

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

.github/workflows/release.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,22 @@ jobs:
2626
uses: pypa/gh-action-pypi-publish@master
2727
with:
2828
password: ${{ secrets.pypi_password }}
29-
- name: Push Docker image to Docker Hub
30-
uses: docker/build-push-action@v1
29+
-
30+
name: Set up QEMU
31+
uses: docker/setup-qemu-action@v1
32+
-
33+
name: Set up Docker Buildx
34+
uses: docker/setup-buildx-action@v1
35+
-
36+
name: Login to DockerHub
37+
uses: docker/login-action@v1
3138
with:
3239
username: ${{ secrets.DOCKER_USERNAME }}
3340
password: ${{ secrets.DOCKER_PASSWORD }}
34-
repository: superannotate/pythonsdk
41+
-
42+
name: Build and push to Docker Hub
43+
id: docker_build
44+
uses: docker/build-push-action@v2
45+
with:
46+
push: true
3547
tags: superannotate/pythonsdk:latest
36-
tag_with_ref: true

superannotate/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "3.0.0b6"
1+
__version__ = "2.5.4"

0 commit comments

Comments
 (0)