@@ -2,7 +2,7 @@ name: build maven and image
22
33on :
44 push :
5- branches : ["main-ng ", "sprint ", "main", "dev "]
5+ branches : ["main", "demo ", "sprint "]
66 workflow_dispatch :
77 inputs :
88 tag :
4242 image-tags : |
4343 # use tag from input only if triggered by workflow_dispatch
4444 type=raw,value=${{ github.event.inputs.tag }},enable=${{ github.event_name == 'workflow_dispatch' }}
45- # set latest tag for sprint branch
46- type=raw,value=latest,enable=${{ github.event_name == 'push' && github.ref == format('refs/heads/{0}', 'sprint') }}
47- # set internal deployment tag for sprint branch
48- type=raw,value=test-ng,enable=${{ github.event_name == 'push' && github.ref == format('refs/heads/{0}', 'sprint') }}
49- # set stable tag for main-ng branch
50- type=raw,value=stable,enable=${{ github.event_name == 'push' && github.ref == format('refs/heads/{0}', 'main-ng') }}
51- # set internal deployment tag for main-ng branch
52- type=raw,value=demo-ng,enable=${{ github.event_name == 'push' && github.ref == format('refs/heads/{0}', 'main-ng') }}
53- # set internal deployment tag for main branch
54- type=raw,value=demo,enable=${{ github.event_name == 'push' && github.ref == format('refs/heads/{0}', 'main') }}
55- # set internal deployment tag for dev branch
56- type=raw,value=test,enable=${{ github.event_name == 'push' && github.ref == format('refs/heads/{0}', 'dev') }}
5745 image-labels : |
5846 maintainer=it@m, Landeshauptstadt Muenchen (LHM)
0 commit comments