Skip to content

Commit 7014a2f

Browse files
authored
Merge pull request #78 from brootware/dev
Dev
2 parents f61bd09 + 3b7e64c commit 7014a2f

File tree

3 files changed

+17
-10
lines changed

3 files changed

+17
-10
lines changed

.github/workflows/cd.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jobs:
3333
- name: Publish Package to TestPyPi
3434
run: |
3535
# Test that package publishing is going to work with the testpypi
36-
# instance first before trying to package plugins.
3736
poetry config pypi-token.testpypi ${{ secrets.TEST_PYPI_TOKEN }}
3837
poetry config repositories.testpypi https://test.pypi.org/legacy/
3938
poetry publish --repository testpypi
@@ -44,6 +43,15 @@ jobs:
4443
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
4544
poetry publish
4645
46+
- name: Build and push Docker Image
47+
uses: mr-smithers-excellent/docker-build-push@v5
48+
with:
49+
image: brootware/pyredactkit
50+
registry: hub.docker.com
51+
dockerfile: Dockerfile
52+
username: ${{ secrets.DOCKER_USERNAME }}
53+
password: ${{ secrets.DOCKER_PASSWORD }}
54+
4755
- name: Extract Release Body
4856
run: |
4957
# Grab tag name without the `v`

.github/workflows/ci.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,3 @@ jobs:
4646
env:
4747
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
4848
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
49-
50-
# - name: Build and push Docker Image
51-
# uses: mr-smithers-excellent/docker-build-push@v5
52-
# with:
53-
# image: brootware/pyredactkit
54-
# registry: docker.io
55-
# username: ${{ secrets.DOCKER_USERNAME }}
56-
# password: ${{ secrets.DOCKER_PASSWORD }}

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,20 @@ 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.0] - 2022-08-11
24+
25+
- Added in redaction support from linux piped input.
26+
- `echo 'This is my ip: 127.0.0.1. My email is [email protected]. My favorite secret link is github.com' | prk`
27+
- Added docker support to run the app from docker.
28+
- `docker run -v "$(pwd):/home/nonroot/workdir" brootware/pyredactkit 'This is my ip: 127.0.0.1. My email is [email protected]. My favorite secret link is github.com'`
29+
2330
## [0.4.0] - 2022-07-27
2431

2532
Making sure only sensitive string is in the api detection
2633

2734
### Changed
2835

29-
- FMaking sure only sensitive string is in the api detection
36+
- Making sure only sensitive string is in the api detection
3037

3138
## [0.3.9] - 2022-07-27
3239

0 commit comments

Comments
 (0)