Skip to content

Commit 5b79cd4

Browse files
authored
Merge pull request #81 from brootware/dev
Dev
2 parents 29f3ba6 + 875fb7a commit 5b79cd4

File tree

3 files changed

+22
-8
lines changed

3 files changed

+22
-8
lines changed

.github/workflows/cd.yml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,24 @@ 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
25+
- name: Set up QEMU
26+
uses: docker/setup-qemu-action@v2
27+
28+
- name: Set up Docker Buildx
29+
uses: docker/setup-buildx-action@v2
30+
31+
- name: Login to DockerHub
32+
uses: docker/login-action@v2
33+
with:
34+
username: ${{ secrets.DOCKERHUB_USERNAME }}
35+
password: ${{ secrets.DOCKERHUB_PASSWORD }}
36+
37+
- name: Build and push to DockerHub
38+
uses: docker/build-push-action@v3
2739
with:
28-
image: brootware/pyredactkit
29-
registry: docker.io
30-
dockerfile: Dockerfile
31-
username: ${{ secrets.DOCKER_USERNAME }}
32-
password: ${{ secrets.DOCKER_PASSWORD }}
40+
context: .
41+
push: true
42+
tags: brootware/pyredactkit:latest
3343

3444
- name: Installing Python Poetry
3545
run: pip install poetry

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ and simply didn't have the time to go back and retroactively create one.
2020
- echo 'This is my ip: 127.0.0.1. My email is [email protected]. My favorite secret link is github.com' | prk
2121
- Added docker support to run the app from docker.
2222

23+
## [1.0.2] - 2022-08-11
24+
25+
- testing docker build and push action from github.
26+
2327
## [1.0.1] - 2022-08-11
2428

2529
- testing docker build and push action from github.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "pyredactkit"
7-
version = "1.0.1"
7+
version = "1.0.2"
88
description = "Python cli tool to redact sensitive data"
99
authors = ["brootware <[email protected]>"]
1010
license = "GPL-3.0-or-later"

0 commit comments

Comments
 (0)