Skip to content

Commit

Permalink
[feat] Publishes image with "latest" tag in addition to rock version (#7
Browse files Browse the repository at this point in the history
)

Co-authored-by: Ghislain Bourgeois <[email protected]>
  • Loading branch information
gruyaume and ghislainbourgeois authored Oct 5, 2023
1 parent 337b15f commit 725255e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish-rock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,6 @@ jobs:
copy \
oci-archive:"${rock_file}" \
docker-daemon:"ghcr.io/canonical/${image_name}:${version}"
docker tag ghcr.io/canonical/${image_name}:${version} ghcr.io/canonical/${image_name}:latest
docker push ghcr.io/canonical/${image_name}:${version}
docker push ghcr.io/canonical/${image_name}:latest
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ A distroless ROCK image for Vault.
## Usage

```console
docker pull ghcr.io/canonical/vault:1.14.3
docker run -it ghcr.io/canonical/vault:1.14.3
docker pull ghcr.io/canonical/vault:latest
docker run -it ghcr.io/canonical/vault:latest
```

0 comments on commit 725255e

Please sign in to comment.