Skip to content

Commit

Permalink
Push image under major.minor tag
Browse files Browse the repository at this point in the history
  • Loading branch information
tillrohrmann committed Nov 28, 2023
1 parent 990760e commit 1d32424
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,14 @@ jobs:
# Note: We need this to generate the latest tag until we have a first stable release.
# Check https://github.com/docker/metadata-action/issues/34
flavor: |
latest=true
${{ inputs.debug && 'prefix=debug-,onlatest=true' || '' }}
tags: |
type=ref,event=branch
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- name: Try to fail
run: exit 1

- name: Build${{inputs.uploadImageAsTarball != true && ' and push ' || ' '}}Docker image
id: build
Expand Down

0 comments on commit 1d32424

Please sign in to comment.