Skip to content

Commit 196c579

Browse files
authored
docs: update readme
ci: update action version
1 parent 7a81cc8 commit 196c579

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
@@ -153,11 +153,14 @@ print(result.text_content)
153153

154154
### Docker
155155

156+
We recommend you to use a specific tag, just as follow :
157+
156158
```sh
157-
docker build -t markitdown:latest .
158-
docker run --rm -i markitdown:latest < ~/your-file.pdf > output.md
159+
docker run --rm -i ghcr.io/microsoft/markitdown:v0.1.2 < ~/your-file.pdf > output.md
159160
```
160161

162+
It is nevertheless possible to use the `latest` or `main` tag.
163+
161164
## Contributing
162165

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

0 commit comments

Comments
 (0)