Skip to content

Commit 8fa0ddb

Browse files
committed
Fix action
1 parent b2c8059 commit 8fa0ddb

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/pre_release.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ on:
55
types: [prereleased]
66

77
jobs:
8-
dockerhub-release:
8+
deploy:
99
runs-on: ubuntu-20.04
1010
steps:
11+
- uses: actions/checkout@v2
1112
-
1213
name: Set up QEMU
1314
uses: docker/setup-qemu-action@v1
@@ -19,19 +20,15 @@ jobs:
1920
uses: docker/login-action@v1
2021
with:
2122
username: ${{ secrets.DOCKER_USERNAME }}
22-
password: ${{ secrets.DOCKER_TOKEN }}
23+
password: ${{ secrets.DOCKER_PASSWORD }}
2324
-
24-
name: Build and push
25+
name: Build and push to Docker Hub
2526
id: docker_build
2627
uses: docker/build-push-action@v2
2728
with:
2829
push: true
2930
tags: superannotate/pythonsdk:dev
3031
build-args: PIP_FLAGS="--pre"
31-
deploy:
32-
runs-on: ubuntu-20.04
33-
steps:
34-
- uses: actions/checkout@v2
3532
- name: Set up Python
3633
uses: actions/setup-python@v2
3734
with:

0 commit comments

Comments
 (0)