Skip to content

Commit 9376101

Browse files
goulvenbseuros
authored andcommitted
docs: update readme
ci: update action version
1 parent efdadc9 commit 9376101

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/docker.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
branches:
66
- main
7+
tags:
8+
- '*'
79

810
jobs:
911
build-and-push:
@@ -36,7 +38,7 @@ jobs:
3638
images: ghcr.io/${{ github.repository }}
3739

3840
- name: Build and push Docker image (multi-arch)
39-
uses: docker/build-push-action@v5
41+
uses: docker/build-push-action@v6
4042
with:
4143
context: .
4244
file: ./Dockerfile

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,11 +178,14 @@ print(result.text_content)
178178

179179
### Docker
180180

181+
We recommend you to use a specific tag, just as follow :
182+
181183
```sh
182-
docker build -t markitdown:latest .
183-
docker run --rm -i markitdown:latest < ~/your-file.pdf > output.md
184+
docker run --rm -i ghcr.io/microsoft/markitdown:v0.1.2 < ~/your-file.pdf > output.md
184185
```
185186

187+
It is nevertheless possible to use the `latest` or `main` tag.
188+
186189
## Contributing
187190

188191
This project welcomes contributions and suggestions. Most contributions require you to agree to a

0 commit comments

Comments
 (0)