Skip to content

Commit

Permalink
Try tagging image as 'latest', too.
Browse files Browse the repository at this point in the history
When building locally a 'latest' tag is added to each new image. As it
seems, this is done automatically only for tagged releases in GitHub
Actions.
Let's try setting this tag explicitly as it's the default tag for a
image specification when no other is given.
  • Loading branch information
shocau committed Jun 25, 2024
1 parent 8fdb489 commit 6702560
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
uses: docker/build-push-action@v5
with:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
tags: ${{ steps.meta.outputs.tags }},latest
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ This project provides a container based runtime environment for the
## Usage

Build and/or run image with [Docker](https://www.docker.com). You can start
container on pre-built image with `docker run ghcr.io/kieler/elk-live:master`.
container on pre-built image with `docker run ghcr.io/kieler/elk-live`.

### Local image build

Expand Down

0 comments on commit 6702560

Please sign in to comment.