File tree Expand file tree Collapse file tree 4 files changed +188
-0
lines changed Expand file tree Collapse file tree 4 files changed +188
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Create and publish Docker image for clone to ghcr.io
2
+
3
+ on :
4
+ release :
5
+ types : ['published']
6
+
7
+ env :
8
+ REGISTRY : ghcr.io
9
+ IMAGE_NAME : SAP/clone
10
+
11
+ jobs :
12
+ build-and-push-image :
13
+ runs-on : ubuntu-latest
14
+ permissions :
15
+ contents : read
16
+ packages : write
17
+ attestations : write
18
+ id-token : write
19
+
20
+ environment : ghcr:cloud-active-defense
21
+
22
+ steps :
23
+ - name : Checkout repository
24
+ uses : actions/checkout@v4
25
+
26
+ - name : Log in to the Container registry
27
+
28
+ with :
29
+ registry : ${{ env.REGISTRY }}
30
+ username : ${{ github.actor }}
31
+ password : ${{ secrets.GITHUB_TOKEN }}
32
+
33
+ - name : Extract metadata of clone
34
+ id : meta
35
+
36
+ with :
37
+ images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
38
+
39
+ - name : Build and push Docker image of clone
40
+ id : push
41
+
42
+ with :
43
+ context : ./clone
44
+ push : true
45
+ file : ./clone/Dockerfile
46
+ tags : ${{ steps.meta.outputs.tags }}
47
+ labels : ${{ steps.meta.outputs.labels }}
Original file line number Diff line number Diff line change
1
+ name : Create and publish Docker image for configmanager to ghcr.io
2
+
3
+ on :
4
+ release :
5
+ types : ['published']
6
+
7
+ env :
8
+ REGISTRY : ghcr.io
9
+ IMAGE_NAME : SAP/configmanager
10
+
11
+ jobs :
12
+ build-and-push-image :
13
+ runs-on : ubuntu-latest
14
+ permissions :
15
+ contents : read
16
+ packages : write
17
+ attestations : write
18
+ id-token : write
19
+
20
+ environment : ghcr:cloud-active-defense
21
+
22
+ steps :
23
+ - name : Checkout repository
24
+ uses : actions/checkout@v4
25
+
26
+ - name : Log in to the Container registry
27
+
28
+ with :
29
+ registry : ${{ env.REGISTRY }}
30
+ username : ${{ github.actor }}
31
+ password : ${{ secrets.GITHUB_TOKEN }}
32
+
33
+ - name : Extract metadata of configmanager
34
+ id : meta
35
+
36
+ with :
37
+ images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
38
+
39
+ - name : Build and push Docker image of configmanager
40
+ id : push
41
+
42
+ with :
43
+ context : ./configmanager
44
+ push : true
45
+ file : ./configmanager/Dockerfile
46
+ tags : ${{ steps.meta.outputs.tags }}
47
+ labels : ${{ steps.meta.outputs.labels }}
Original file line number Diff line number Diff line change
1
+ name : Create and publish Docker image for exhaust to ghcr.io
2
+
3
+ on :
4
+ release :
5
+ types : ['published']
6
+
7
+ env :
8
+ REGISTRY : ghcr.io
9
+ IMAGE_NAME : SAP/exhaust
10
+
11
+ jobs :
12
+ build-and-push-image :
13
+ runs-on : ubuntu-latest
14
+ permissions :
15
+ contents : read
16
+ packages : write
17
+ attestations : write
18
+ id-token : write
19
+
20
+ environment : ghcr:cloud-active-defense
21
+
22
+ steps :
23
+ - name : Checkout repository
24
+ uses : actions/checkout@v4
25
+
26
+ - name : Log in to the Container registry
27
+
28
+ with :
29
+ registry : ${{ env.REGISTRY }}
30
+ username : ${{ github.actor }}
31
+ password : ${{ secrets.GITHUB_TOKEN }}
32
+
33
+ - name : Extract metadata of exhaust
34
+ id : meta
35
+
36
+ with :
37
+ images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
38
+
39
+ - name : Build and push Docker image of exhaust
40
+ id : push
41
+
42
+ with :
43
+ context : ./exhaust
44
+ push : true
45
+ file : ./exhaust/Dockerfile
46
+ tags : ${{ steps.meta.outputs.tags }}
47
+ labels : ${{ steps.meta.outputs.labels }}
Original file line number Diff line number Diff line change
1
+ name : Create and publish Docker image for kyma_init_ to ghcr.io
2
+
3
+ on :
4
+ release :
5
+ types : ['published']
6
+
7
+ env :
8
+ REGISTRY : ghcr.io
9
+ IMAGE_NAME : SAP/proxy
10
+
11
+ jobs :
12
+ build-and-push-image :
13
+ runs-on : ubuntu-latest
14
+ permissions :
15
+ contents : read
16
+ packages : write
17
+ attestations : write
18
+ id-token : write
19
+
20
+ environment : ghcr:cloud-active-defense
21
+
22
+ steps :
23
+ - name : Checkout repository
24
+ uses : actions/checkout@v4
25
+
26
+ - name : Log in to the Container registry
27
+
28
+ with :
29
+ registry : ${{ env.REGISTRY }}
30
+ username : ${{ github.actor }}
31
+ password : ${{ secrets.GITHUB_TOKEN }}
32
+
33
+ - name : Extract metadata of proxy
34
+ id : meta
35
+
36
+ with :
37
+ images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
38
+
39
+ - name : Build and push Docker image of proxy
40
+ id : push
41
+
42
+ with :
43
+ context : ./proxy
44
+ push : true
45
+ file : ./proxy/Dockerfile
46
+ tags : ${{ steps.meta.outputs.tags }}
47
+ labels : ${{ steps.meta.outputs.labels }}
You can’t perform that action at this time.
0 commit comments