Skip to content

Commit

Permalink
💚 Set latest tag in docker/build-push-action (#153)
Browse files Browse the repository at this point in the history
- Add instruction to README
  • Loading branch information
roniemartinez committed May 21, 2022
1 parent 221bde3 commit 681b905
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ jobs:
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
tags: ${{ env.IMAGE_NAME }}:latest
# tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

# Sign the resulting Docker image digest except on PRs.
Expand Down
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,20 @@ Here is the summary of features supported by each parser backend.
</tbody>
</table>

## using the Docker image

Pull the docker image using the following command.

```console
docker pull roniemartinez/dude
```

Assuming that `script.py` exist in the current directory, run Dude using the following command.

```console
docker run -it --rm -v "$PWD":/code roniemartinez/dude dude scrape --url <url> script.py
```

## Documentation

Read the complete documentation at [https://roniemartinez.github.io/dude/](https://roniemartinez.github.io/dude/).
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pydude"
version = "0.20.0"
version = "0.20.1"
repository = "https://github.com/roniemartinez/dude"
description = "dude uncomplicated data extraction"
authors = ["Ronie Martinez <ronmarti18@gmail.com>"]
Expand Down

0 comments on commit 681b905

Please sign in to comment.