@@ -5,9 +5,9 @@ name: Egeria UI Build
5
5
6
6
on :
7
7
push :
8
- branches : [master ]
8
+ branches : [polymer ]
9
9
pull_request :
10
- branches : [master ]
10
+ branches : [polymer ]
11
11
12
12
jobs :
13
13
@@ -59,21 +59,21 @@ jobs:
59
59
password : ${{ secrets.QUAY_IO_ACCESS_TOKEN }}
60
60
if : ${{ steps.check.outputs.changed == 'true' && github.event_name == 'push' && github.repository == 'odpi/egeria-ui' }}
61
61
# For releases (ie not main) we push the image - but not the latest tag
62
- - name : Build and push (not master merge)
62
+ - name : Build and push (not polymer merge)
63
63
id : docker_build_release
64
64
uses : docker/build-push-action@v2
65
- if : ${{ steps.check.outputs.changed == 'true' && github.ref != 'refs/heads/master ' }}
65
+ if : ${{ steps.check.outputs.changed == 'true' && github.ref != 'refs/heads/polymer ' }}
66
66
with :
67
67
push : ${{ github.event_name == 'push' && github.repository == 'odpi/egeria-ui' }}
68
68
tags : odpi/egeria-ui:${{ steps.package-version.outputs.current-version}}, quay.io/odpi/egeria-ui:${{ steps.package-version.outputs.current-version}}
69
69
context : .
70
70
file : ./Dockerfile
71
71
platforms : linux/amd64,linux/arm64
72
72
# For main code stream we push the image and add the latest tag
73
- - name : Build and push (master merge)
73
+ - name : Build and push (polymer merge)
74
74
id : docker_build_master
75
75
uses : docker/build-push-action@v2
76
- if : ${{ steps.check.outputs.changed == 'true' && github.ref == 'refs/heads/master ' }}
76
+ if : ${{ steps.check.outputs.changed == 'true' && github.ref == 'refs/heads/polymer ' }}
77
77
with :
78
78
push : ${{ github.event_name == 'push' && github.repository == 'odpi/egeria-ui' }}
79
79
tags : odpi/egeria-ui:${{ steps.package-version.outputs.current-version }}, odpi/egeria-ui:latest, quay.io/odpi/egeria-ui:${{ steps.package-version.outputs.current-version }}, quay.io/odpi/egeria-ui:latest
@@ -82,10 +82,10 @@ jobs:
82
82
platforms : linux/amd64,linux/arm64
83
83
# Note the digest
84
84
- name : Image digest (release)
85
- if : ${{ steps.check.outputs.changed == 'true' && github.ref != 'refs/heads/master ' }}
85
+ if : ${{ steps.check.outputs.changed == 'true' && github.ref != 'refs/heads/polymer ' }}
86
86
run : echo ${{ steps.docker_build_release.outputs.digest }}
87
- - name : Image digest (master )
88
- if : ${{ steps.check.outputs.changed == 'true' && github.ref == 'refs/heads/master ' }}
87
+ - name : Image digest (polymer )
88
+ if : ${{ steps.check.outputs.changed == 'true' && github.ref == 'refs/heads/polymer ' }}
89
89
run : echo ${{ steps.docker_build_master.outputs.digest }}
90
90
# Save an artifact of the build tree & upload
91
91
- name : Create Archive
0 commit comments