Skip to content

Commit

Permalink
ci: define docker meta tags manually
Browse files Browse the repository at this point in the history
  • Loading branch information
SamyDjemai committed Nov 12, 2024
1 parent 36d4d08 commit c67e975
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch
type=ref,event=tag
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=sha,format=long
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand Down Expand Up @@ -100,6 +107,13 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch
type=ref,event=tag
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=sha,format=long
- name: Log in to the Container registry
uses: docker/login-action@v3
Expand Down

0 comments on commit c67e975

Please sign in to comment.