Skip to content

Commit

Permalink
update image ref
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
  • Loading branch information
Jacob Woffenden authored Feb 22, 2024
1 parent 6c4aaa7 commit 78c8901
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ docker run -it --rm \
--publish 4567:4567 \
--volume $(pwd)/config:/app/config \
--volume $(pwd)/source:/app/source \
ghcr.io/ministryofjustice/tech-docs-github-pages-publisher:latest/usr/local/bin/td-preview
ghcr.io/ministryofjustice/tech-docs-github-pages-publisher:v4.0.0 /usr/local/bin/td-preview
```

## Updating
Expand All @@ -73,13 +73,13 @@ However if you need to update manually, you can do the following:
1. Build the image

```bash
docker build --file Dockerfile --tag ghcr.io/ministryofjustice/tech-docs-github-pages-publisher:latest .
docker build --file Dockerfile --tag ghcr.io/ministryofjustice/tech-docs-github-pages-publisher:local .
```

1. Extract `Gemfile.lock`

```bash
docker run -it --rm ghcr.io/ministryofjustice/tech-docs-github-pages-publisher:latest
docker run -it --rm ghcr.io/ministryofjustice/tech-docs-github-pages-publisher:local
cat /opt/publishing/Gemfile.lock
```
Expand Down
2 changes: 1 addition & 1 deletion examples/github-actions/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: Build
runs-on: ubuntu-latest
container:
image: ghcr.io/ministryofjustice/tech-docs-github-pages-publisher@sha256:xxxxx # vx.y.z
image: ghcr.io/ministryofjustice/tech-docs-github-pages-publisher:v4.0.0
permissions:
contents: read
steps:
Expand Down
2 changes: 1 addition & 1 deletion examples/github-actions/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
name: Build
runs-on: ubuntu-latest
container:
image: ghcr.io/ministryofjustice/tech-docs-github-pages-publisher@sha256:xxxxx # vx.y.z
image: ghcr.io/ministryofjustice/tech-docs-github-pages-publisher:v4.0.0
permissions:
contents: read
steps:
Expand Down

0 comments on commit 78c8901

Please sign in to comment.