@@ -65,13 +65,13 @@ jobs:
65
65
run : npm ci
66
66
67
67
- name : Semantic Release 🚀
68
- uses : cycjimmy/semantic-release-action@v4
69
- id : semantic
70
- env :
71
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
72
- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
73
- with :
74
- semantic_version : 23
68
+ uses : cycjimmy/semantic-release-action@v4
69
+ id : semantic
70
+ env :
71
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
72
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
73
+ with :
74
+ semantic_version : 23
75
75
76
76
- name : Build artifacts 🏗️
77
77
run : npm run build
@@ -93,13 +93,13 @@ jobs:
93
93
load : true
94
94
95
95
- name : Build docker gis-client image (version)
96
- if : steps.semantic.outputs.new_release_published == 'true'
97
- uses : docker/build-push-action@v5
98
- with :
99
- context : .
100
- tags : |
101
- ${{ env.DOCKER_REGISTRY }}/shogun-gis-client-docs:${{ steps.semantic.outputs.new_release_version }}
102
- load : true
96
+ if : steps.semantic.outputs.new_release_published == 'true'
97
+ uses : docker/build-push-action@v5
98
+ with :
99
+ context : .
100
+ tags : |
101
+ ${{ env.DOCKER_REGISTRY }}/shogun-gis-client-docs:${{ steps.semantic.outputs.new_release_version }}
102
+ load : true
103
103
104
104
- name : Push docker gis-client image to Nexus (latest) 📠
105
105
run : |
@@ -120,20 +120,19 @@ jobs:
120
120
load : true
121
121
122
122
- name : Build docker admin-client image (version)
123
- if : steps.semantic.outputs.new_release_published == 'true'
124
- uses : docker/build-push-action@v5
125
- with :
126
- context : .
127
- tags : |
128
- ${{ env.DOCKER_REGISTRY }}/shogun-admin-client-docs:${{ steps.semantic.outputs.new_release_version }}
129
- load : true
123
+ if : steps.semantic.outputs.new_release_published == 'true'
124
+ uses : docker/build-push-action@v5
125
+ with :
126
+ context : .
127
+ tags : |
128
+ ${{ env.DOCKER_REGISTRY }}/shogun-admin-client-docs:${{ steps.semantic.outputs.new_release_version }}
129
+ load : true
130
130
131
131
- name : Push docker admin-client image to Nexus (latest) 📠
132
132
run : |
133
133
docker push ${{ env.DOCKER_REGISTRY }}/shogun-admin-client-docs:latest
134
134
135
135
- name : Push docker admin-client image to Nexus (version)
136
- if : steps.semantic.outputs.new_release_published == 'true'
137
- run : |
138
- docker push ${{ env.DOCKER_REGISTRY }}/shogun-admin-client-docs:${{ steps.semantic.outputs.new_release_version }}
139
-
136
+ if : steps.semantic.outputs.new_release_published == 'true'
137
+ run : |
138
+ docker push ${{ env.DOCKER_REGISTRY }}/shogun-admin-client-docs:${{ steps.semantic.outputs.new_release_version }}
0 commit comments