Skip to content

Commit

Permalink
Pushing tags semver tags v1.0.0
Browse files Browse the repository at this point in the history
Pushing tags
  • Loading branch information
Praveenraj-K authored Oct 30, 2024
2 parents 90fe7e5 + e26b793 commit 840428b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
build-and-publish:
name: Build and Publish
needs: test
if: startsWith(github.ref, 'refs/tags')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -31,9 +32,11 @@ jobs:
with:
images: ${{ vars.DOCKER_ORG }}/traefik-https-proxy
tags: |
type=ref,event=branch
# set latest tag for main
type=raw,value=latest,enable=${{ github.ref_name == 'main' }}
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
- name: Build and push Docker image
uses: docker/build-push-action@v5
Expand Down

0 comments on commit 840428b

Please sign in to comment.