Skip to content

Commit

Permalink
Publish latest Docker image tag exclusively for release images
Browse files Browse the repository at this point in the history
  • Loading branch information
guilload committed Apr 24, 2024
1 parent 6f26989 commit 8758da1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish_docker_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,14 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY_IMAGE }}
flavor: |
latest=false
tags: |
type=edge,branch=main
type=edge,branch=main,suffix=-bullseye
type=edge,branch=main,suffix=-slim-bookworm
type=semver,pattern={{version}}
type=semver,pattern={{version}},suffix=-bullseye
type=semver,pattern={{version}},value=latest
type=semver,pattern={{version}},suffix=-slim-bookworm
type=ref,event=tag
- name: Login to Docker Hub
uses: docker/login-action@v3
Expand Down

0 comments on commit 8758da1

Please sign in to comment.