File tree 1 file changed +40
-0
lines changed 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Controller
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - " main"
7
+ paths :
8
+ - " .github/workflows/controller.yml"
9
+ - " operator/**"
10
+
11
+ jobs :
12
+ build-images :
13
+ strategy :
14
+ fail-fast : false
15
+ matrix :
16
+ include :
17
+ - context : operator
18
+ file : operator/Dockerfile
19
+ endpoint : demeter-run/ext-cardano-dbsync-serverless
20
+
21
+ continue-on-error : true
22
+ runs-on : ubuntu-latest
23
+ steps :
24
+
25
+
26
+ - name : Login to GitHub Container Registry
27
+ uses : docker/login-action@v1
28
+ with :
29
+ registry : ghcr.io
30
+ username : ${{ github.actor }}
31
+ password : ${{ secrets.GITHUB_TOKEN }}
32
+
33
+ - name : Build and push
34
+ uses : docker/build-push-action@v2
35
+ with :
36
+ context : ${{ matrix.context }}
37
+ file : ${{ matrix.file }}
38
+ platforms : linux/amd64
39
+ push : true
40
+ tags : ghcr.io/${{ matrix.endpoint }},ghcr.io/${{ matrix.endpoint }}:${{ github.sha }}
You can’t perform that action at this time.
0 commit comments