26
26
git config --global user.email [email protected]
27
27
git config --global user.name $GIT_USER
28
28
- name : Checkout
29
- uses : actions/checkout@v3
29
+ uses : actions/checkout@v4
30
30
# - name: CI tests, image build and push tag for main or branch
31
31
# uses: whoan/docker-build-with-cache-action@v5
32
32
# with:
@@ -37,15 +37,15 @@ jobs:
37
37
# image_tag: ${{ env.TAG }}
38
38
# pull_image_and_stages: true
39
39
- name : Set up Docker Buildx
40
- uses : docker/setup-buildx-action@v2
40
+ uses : docker/setup-buildx-action@v3
41
41
- name : Login to Github Packages
42
- uses : docker/login-action@v2.1.0
42
+ uses : docker/login-action@v3
43
43
with :
44
44
registry : ${{ env.CACHE_REGISTRY }}
45
45
username : ${{ env.GIT_USER }}
46
46
password : ' ${{ secrets.NPM_TOKEN }}'
47
47
- name : CI tests, image build and push tag for main or branch
48
- uses : docker/build-push-action@v3
48
+ uses : docker/build-push-action@v5
49
49
with :
50
50
push : true
51
51
tags : |
77
77
COMMIT_MSG : ${{ github.event.head_commit.message }}
78
78
steps :
79
79
- name : Checkout
80
- uses : actions/checkout@v3
80
+ uses : actions/checkout@v4
81
81
- name : Set env
82
82
run : |
83
83
git config --global user.email [email protected]
@@ -120,7 +120,7 @@ jobs:
120
120
options : --user 0
121
121
steps :
122
122
- name : Checkout
123
- uses : actions/checkout@v3
123
+ uses : actions/checkout@v4
124
124
- name : Prepare chart
125
125
id : prepare_chart
126
126
run : |
@@ -225,7 +225,7 @@ jobs:
225
225
region=nl-ams \
226
226
project-id=${{ secrets.SCW_DEFAULT_PROJECT_ID }} \
227
227
--wait
228
- echo "CLuster deployed successfully"
228
+ echo "Cluster deployed successfully"
229
229
- name : Installing new otomi release
230
230
run : |
231
231
# Get cluster ID and set env var
@@ -277,36 +277,3 @@ jobs:
277
277
SLACK_ICON : https://github.com/redkubes.png?size=48
278
278
SLACK_TITLE : CI run
279
279
SLACK_USERNAME : RedKubesBot
280
-
281
- execute-aws-marketplace :
282
- name : AWS Dispatch
283
- needs : chart-release
284
- if : always() && contains(needs.chart-release.result, 'success') && !github.event.act
285
- runs-on : ubuntu-latest
286
- steps :
287
- - uses : actions/github-script@v6
288
- with :
289
- github-token : ${{ secrets.ACTIONS_KEY }}
290
- script : |
291
- await github.rest.actions.createWorkflowDispatch({
292
- owner: 'redkubes',
293
- repo: 'aws-marketplace',
294
- workflow_id: 'deploy_release.yaml',
295
- ref: 'main'
296
- })
297
- execute-azure-marketplace :
298
- name : Azure Dispatch
299
- needs : chart-release
300
- if : always() && contains(needs.chart-release.result, 'success') && !github.event.act
301
- runs-on : ubuntu-latest
302
- steps :
303
- - uses : actions/github-script@v6
304
- with :
305
- github-token : ${{ secrets.ACTIONS_KEY }}
306
- script : |
307
- await github.rest.actions.createWorkflowDispatch({
308
- owner: 'redkubes',
309
- repo: 'azure-marketplace',
310
- workflow_id: 'deploy_release.yaml',
311
- ref: 'main'
312
- })
0 commit comments