@@ -5,8 +5,6 @@ concurrency:
55 cancel-in-progress : true
66
77on :
8- schedule :
9- - cron : ' 0 10 * * *'
108 workflow_dispatch :
119 push :
1210 branches :
2422 GO_VERSION : " 1.23"
2523 SETUP_BUILDX_VERSION : " edge"
2624 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"
3027 DESTDIR : " ./bin"
3128
3229jobs :
6360 fi
6461 echo "tag=${TAG}" >>${GITHUB_OUTPUT}
6562 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"]'
6864
6965 binaries :
7066 runs-on : ubuntu-24.04
@@ -180,13 +176,11 @@ jobs:
180176 runs-on : ubuntu-24.04
181177 needs :
182178 - prepare
183- - test
184179 strategy :
185180 fail-fast : false
186181 matrix :
187182 target-stage :
188183 - ' '
189- - rootless
190184 steps :
191185 -
192186 name : Checkout
@@ -205,12 +199,13 @@ jobs:
205199 driver-opts : image=${{ env.SETUP_BUILDKIT_IMAGE }}
206200 buildkitd-flags : --debug
207201 -
208- name : Login to DockerHub
202+ name : Login to GitHub Container Registry
209203 if : needs.prepare.outputs.push == 'push'
210204 uses : docker/login-action@v3
211205 with :
212- username : ${{ secrets.DOCKERHUB_USERNAME }}
213- password : ${{ secrets.DOCKERHUB_TOKEN }}
206+ registry : ghcr.io
207+ username : ${{ github.actor }}
208+ password : ${{ secrets.GITHUB_TOKEN }}
214209 -
215210 name : Build ${{ needs.prepare.outputs.tag }}
216211 run : |
@@ -268,7 +263,6 @@ jobs:
268263 runs-on : ubuntu-24.04
269264 needs :
270265 - prepare
271- - test
272266 - binaries
273267 - image
274268 steps :
0 commit comments