@@ -5,8 +5,6 @@ concurrency:
5
5
cancel-in-progress : true
6
6
7
7
on :
8
- schedule :
9
- - cron : ' 0 10 * * *'
10
8
workflow_dispatch :
11
9
push :
12
10
branches :
24
22
GO_VERSION : " 1.23"
25
23
SETUP_BUILDX_VERSION : " edge"
26
24
SETUP_BUILDKIT_IMAGE : " moby/buildkit:latest"
27
- SCOUT_VERSION : " 1.13.0"
28
- IMAGE_NAME : " moby/buildkit"
29
- PLATFORMS : " linux/amd64,linux/arm/v7,linux/arm64,linux/s390x,linux/ppc64le,linux/riscv64"
25
+ IMAGE_NAME : " ghcr.io/gitpod-io/buildkit"
26
+ PLATFORMS : " linux/amd64"
30
27
DESTDIR : " ./bin"
31
28
32
29
jobs :
63
60
fi
64
61
echo "tag=${TAG}" >>${GITHUB_OUTPUT}
65
62
echo "push=${PUSH}" >>${GITHUB_OUTPUT}
66
- platforms=$(docker buildx bake release --print | jq -cr '.target."release".platforms')
67
- echo "platforms=$platforms" >>${GITHUB_OUTPUT}
63
+ echo ::set-output name=platforms::'["linux/amd64"]'
68
64
69
65
binaries :
70
66
runs-on : ubuntu-24.04
@@ -180,13 +176,11 @@ jobs:
180
176
runs-on : ubuntu-24.04
181
177
needs :
182
178
- prepare
183
- - test
184
179
strategy :
185
180
fail-fast : false
186
181
matrix :
187
182
target-stage :
188
183
- ' '
189
- - rootless
190
184
steps :
191
185
-
192
186
name : Checkout
@@ -205,12 +199,13 @@ jobs:
205
199
driver-opts : image=${{ env.SETUP_BUILDKIT_IMAGE }}
206
200
buildkitd-flags : --debug
207
201
-
208
- name : Login to DockerHub
202
+ name : Login to GitHub Container Registry
209
203
if : needs.prepare.outputs.push == 'push'
210
204
uses : docker/login-action@v3
211
205
with :
212
- username : ${{ secrets.DOCKERHUB_USERNAME }}
213
- password : ${{ secrets.DOCKERHUB_TOKEN }}
206
+ registry : ghcr.io
207
+ username : ${{ github.actor }}
208
+ password : ${{ secrets.GITHUB_TOKEN }}
214
209
-
215
210
name : Build ${{ needs.prepare.outputs.tag }}
216
211
run : |
@@ -268,7 +263,6 @@ jobs:
268
263
runs-on : ubuntu-24.04
269
264
needs :
270
265
- prepare
271
- - test
272
266
- binaries
273
267
- image
274
268
steps :
0 commit comments