docs: update readme
ci: update action version
This commit is contained in:
parent
7a81cc86f3
commit
196c579a0a
2 changed files with 8 additions and 3 deletions
4
.github/workflows/docker.yml
vendored
4
.github/workflows/docker.yml
vendored
|
|
@ -4,6 +4,8 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- main
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
build-and-push:
|
||||
|
|
@ -36,7 +38,7 @@ jobs:
|
|||
images: ghcr.io/${{ github.repository }}
|
||||
|
||||
- name: Build and push Docker image (multi-arch)
|
||||
uses: docker/build-push-action@v5
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
|
|
|
|||
|
|
@ -153,11 +153,14 @@ print(result.text_content)
|
|||
|
||||
### Docker
|
||||
|
||||
We recommend you to use a specific tag, just as follow :
|
||||
|
||||
```sh
|
||||
docker build -t markitdown:latest .
|
||||
docker run --rm -i markitdown:latest < ~/your-file.pdf > output.md
|
||||
docker run --rm -i ghcr.io/microsoft/markitdown:v0.1.2 < ~/your-file.pdf > output.md
|
||||
```
|
||||
|
||||
It is nevertheless possible to use the `latest` or `main` tag.
|
||||
|
||||
## Contributing
|
||||
|
||||
This project welcomes contributions and suggestions. Most contributions require you to agree to a
|
||||
|
|
|
|||
Loading…
Reference in a new issue