Skip to content

Commit

Permalink
Merge pull request #128 from cole-miller/docker-publish
Browse files Browse the repository at this point in the history
publish: Always use `latest` for the tag
  • Loading branch information
cole-miller authored Aug 17, 2023
2 parents 558bf21 + ce4e0a4 commit 7322a62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,8 @@ jobs:

- name: Build
run: |
version=$(cat image-version)
docker build -t ghcr.io/canonical/jepsen-dqlite-unofficial:$version .
docker build -t ghcr.io/canonical/jepsen-dqlite-unofficial:latest .
- name: Push
run: |
version=$(cat image-version)
docker push ghcr.io/canonical/jepsen-dqlite-unofficial:$version
docker push ghcr.io/canonical/jepsen-dqlite-unofficial:latest
1 change: 0 additions & 1 deletion image-version

This file was deleted.

0 comments on commit 7322a62

Please sign in to comment.