Skip to content

Commit

Permalink
Update Docker commands to always pull
Browse files Browse the repository at this point in the history
  • Loading branch information
sevein committed Oct 5, 2023
1 parent 9d877a1 commit 0af348d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ amflow needs `dot` installed (part of [GraphViz](https://www.graphviz.org/)).

You can also use the [Docker image][1], e.g.:

$ docker run --rm artefactual/amflow:latest -v warn help
$ docker run --pull=always --rm artefactual/amflow:latest -v warn help
A tool that facilitates workflow editing for Archivematica.

Usage:
Expand All @@ -42,15 +42,15 @@ The following examples use Docker so you don't have to install amflow locally.

Serve the latest workflow document found in Archivematica's GitHub repository. It should be accessible at http://127.0.0.1:2323.

docker run -p 2323:2323 --rm artefactual/amflow:latest edit --latest
docker run --pull=always --publish=2323:2323 --rm artefactual/amflow:latest edit --latest

It is also possible to point to a local or remote workflow document, e.g.:

docker run -p 2323:2323 --rm artefactual/amflow:latest edit --file=https://raw.githubusercontent.com/artefactual/archivematica/stable/1.10.x/src/MCPServer/lib/assets/workflow.json
docker run --pull=always --publish=2323:2323 --rm artefactual/amflow:latest edit --file=https://raw.githubusercontent.com/artefactual/archivematica/stable/1.10.x/src/MCPServer/lib/assets/workflow.json

Check the integrity of the workflow, e.g.:

$ docker run --rm artefactual/amflow:latest check --latest
$ docker run --pull=always --rm artefactual/amflow:latest check --latest
INFO[0000] amflow (dev)
INFO[0000] Downloading workfow mode=file source="https://raw.githubusercontent.com/artefactual/archivematica/qa/1.x/src/MCPServer/lib/assets/workflow.json"
WARN[0001] Unhealthy workflow warning err="[/system/createAIC/] watched directory is not referenced"
Expand Down

0 comments on commit 0af348d

Please sign in to comment.