Skip to content

Commit

Permalink
create semantic version docker tags
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt committed Sep 17, 2024
1 parent bb978d0 commit 2418088
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ vars.DOCKER_ORG }}/${{ github.event.repository.name }}
tags: |
type=ref,event=branch
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
Expand Down

0 comments on commit 2418088

Please sign in to comment.