Skip to content

Commit

Permalink
Fiddle with docker image tag
Browse files Browse the repository at this point in the history
Try to add second image tag based on branch name and sha
  • Loading branch information
somathias authored Feb 2, 2024
1 parent 2251858 commit e2e3d43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,11 @@ jobs:
with:
images: ${{ matrix.images }}
tags: |
type=ref,event=branch,suffix={{sha}}
type=ref,event=branch
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha,prefix={{branch}}-
- name: Build and Publish
uses: docker/build-push-action@v4
with:
Expand Down

0 comments on commit e2e3d43

Please sign in to comment.