Skip to content

Commit 9f5ea1e

Browse files
authored
FV-111 Anpassung der Workflows
1 parent ff8469b commit 9f5ea1e

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.github/workflows/build_push.yaml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: build maven and image
22

33
on:
44
push:
5-
branches: ["main-ng", "sprint", "main", "dev"]
5+
branches: ["main", "demo", "sprint"]
66
workflow_dispatch:
77
inputs:
88
tag:
@@ -42,17 +42,5 @@ jobs:
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

Comments
 (0)