Skip to content

Commit 8c2f6db

Browse files
author
rootware
committed
changed docker build and push sequence to before poetry publish
1 parent 9bca855 commit 8c2f6db

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/cd.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ jobs:
2222
with:
2323
python-version: "3.9"
2424

25+
- name: Build and push Docker Image
26+
uses: mr-smithers-excellent/docker-build-push@v5
27+
with:
28+
image: brootware/pyredactkit
29+
registry: docker.io
30+
dockerfile: Dockerfile
31+
username: ${{ secrets.DOCKER_USERNAME }}
32+
password: ${{ secrets.DOCKER_PASSWORD }}
33+
2534
- name: Installing Python Poetry
2635
run: pip install poetry
2736

@@ -43,15 +52,6 @@ jobs:
4352
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
4453
poetry publish
4554
46-
- name: Build and push Docker Image
47-
uses: mr-smithers-excellent/docker-build-push@v5
48-
with:
49-
image: brootware/pyredactkit
50-
registry: docker.io
51-
dockerfile: Dockerfile
52-
username: ${{ secrets.DOCKER_USERNAME }}
53-
password: ${{ secrets.DOCKER_PASSWORD }}
54-
5555
- name: Extract Release Body
5656
run: |
5757
# Grab tag name without the `v`

0 commit comments

Comments
 (0)