File tree 1 file changed +58
-0
lines changed
1 file changed +58
-0
lines changed Original file line number Diff line number Diff line change 64
64
-
uses :
golangci/[email protected]
65
65
with :
66
66
version : v1.63.4
67
+ publish-debug-docker :
68
+ name : Build and push debug kas containers
69
+ runs-on : ubuntu-20.04
70
+ permissions :
71
+ contents : ' read'
72
+ id-token : ' write'
73
+ packages : ' write'
74
+ strategy :
75
+ matrix :
76
+ image : [kas-debug, agentk-debug]
77
+ include :
78
+ - image : kas-debug
79
+ dockerfile : ./build/docker/kas.debug.Dockerfile
80
+ - image : agentk-debug
81
+ dockerfile : ./build/docker/agentk.debug.Dockerfile
82
+ steps :
83
+ - name : Checkout
84
+ uses : actions/checkout@v4
85
+ with :
86
+ fetch-depth : 0
87
+ - name : Docker meta
88
+ id : meta
89
+ uses : docker/metadata-action@v5
90
+ with :
91
+ images : |
92
+ ghcr.io/pluralsh/${{ matrix.image }}
93
+ tags : |
94
+ type=sha
95
+ type=ref,event=pr
96
+ type=ref,event=branch
97
+ - name : Set up QEMU
98
+ uses : docker/setup-qemu-action@v3
99
+ - name : Set up Docker Buildx
100
+ uses : docker/setup-buildx-action@v3
101
+ - name : Login to Container registry
102
+ uses : docker/login-action@v3
103
+ with :
104
+ registry : ghcr.io
105
+ username : ${{ github.repository_owner }}
106
+ password : ${{ secrets.GITHUB_TOKEN }}
107
+ - name : Login to Docker
108
+ uses : docker/login-action@v3
109
+ with :
110
+ username : mjgpluralsh
111
+ password : ${{ secrets.DOCKER_ACCESS_TOKEN }}
112
+ - name : Build and push
113
+ uses : docker/build-push-action@v5
114
+ with :
115
+ context : " ."
116
+ file : " ${{ matrix.dockerfile }}"
117
+ push : true
118
+ tags : ${{ steps.meta.outputs.tags }}
119
+ labels : ${{ steps.meta.outputs.labels }}
120
+ platforms : linux/amd64,linux/arm64
121
+ cache-from : type=gha
122
+ cache-to : type=gha,mode=max
123
+ build-args : |
124
+ GIT_COMMIT=${{ github.sha }}
You can’t perform that action at this time.
0 commit comments