File tree 1 file changed +38
-0
lines changed
1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build tss-svc docker image
2
+ on :
3
+ push :
4
+ branches :
5
+ - ' dev/bitcoin'
6
+
7
+ env :
8
+ CI_ACCESS_TOKEN : ${{ secrets.CI_ACCESS_TOKEN }}
9
+
10
+ jobs :
11
+ converge-github :
12
+ name : Skaffold Build To Github
13
+ runs-on : ubuntu-22.04
14
+ steps :
15
+ - name : Checkout code
16
+ uses : actions/checkout@v3
17
+ with :
18
+ fetch-depth : 0
19
+
20
+ - name : Log in to registry
21
+ run : echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
22
+
23
+ - name : Cache layers
24
+ uses : actions/cache@v3
25
+ with :
26
+ path : " ${{ github.workspace }}/.skaffold/cache"
27
+ key : skaffold-${{ hashFiles('**/cache') }}
28
+ restore-keys : |
29
+ skaffold-
30
+
31
+ - name : Run Skaffold pipeline as command
32
+ uses : hiberbee/github-action-skaffold@latest
33
+ id : build
34
+ with :
35
+ filename : build/skaffold.yaml
36
+ command : build
37
+ repository : ghcr.io/${{ github.repository_owner }}
38
+ tag : ${{ github.sha }}
You can’t perform that action at this time.
0 commit comments