Skip to content

Commit

Permalink
Merge pull request #78 from pmoscode/feature/docker-latest-tag
Browse files Browse the repository at this point in the history
feat: update Docker Hub release workflow
  • Loading branch information
scherersebastian authored Sep 6, 2023
2 parents 1632703 + 186104d commit 0d196d9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/docker-hub-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ on:
pull_request:
branches:
- main
paths:
- 'Dockerfile'
- 'src/main/**'

env:
IMAGE_NAMESPACE: "tractusx"
Expand Down Expand Up @@ -74,6 +77,7 @@ jobs:
type=semver,pattern={{version}}
type=semver,pattern={{major}}
type=semver,pattern={{major}}.{{minor}}
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
- name: DockerHub login
if: github.event_name != 'pull_request'
Expand Down

0 comments on commit 0d196d9

Please sign in to comment.