@@ -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.20"
25
23
SETUP_BUILDX_VERSION : " latest"
26
24
SETUP_BUILDKIT_IMAGE : " moby/buildkit:latest"
27
- IMAGE_NAME : " moby /buildkit"
28
- 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"
29
27
DESTDIR : " ./bin"
30
28
31
29
jobs :
32
- test :
33
- uses : ./.github/workflows/.test.yml
34
- with :
35
- cache_scope : build-integration-tests
36
- pkgs : ./client ./cmd/buildctl ./worker/containerd ./solver ./frontend
37
- kinds : integration
38
- codecov_flags : core
39
- includes : |
40
- - pkg: ./...
41
- skip-integration-tests: 1
42
- typ: integration gateway
43
- - pkg: ./client
44
- worker: containerd
45
- tags: nydus
46
- typ: integration
47
- - pkg: ./client
48
- worker: oci
49
- tags: nydus
50
- typ: integration
51
- - pkg: ./...
52
- tags: nydus
53
- skip-integration-tests: 1
54
- typ: integration
55
-
56
30
prepare :
57
31
runs-on : ubuntu-22.04
58
32
outputs :
86
60
fi
87
61
echo "tag=${TAG}" >>${GITHUB_OUTPUT}
88
62
echo "push=${PUSH}" >>${GITHUB_OUTPUT}
89
- platforms=$(docker buildx bake release --print | jq -cr '.target."release".platforms')
90
- echo "platforms=$platforms" >>${GITHUB_OUTPUT}
63
+ echo ::set-output name=platforms::'["linux/amd64"]'
91
64
92
65
binaries :
93
66
runs-on : ubuntu-22.04
@@ -142,13 +115,11 @@ jobs:
142
115
runs-on : ubuntu-22.04
143
116
needs :
144
117
- prepare
145
- - test
146
118
strategy :
147
119
fail-fast : false
148
120
matrix :
149
121
target-stage :
150
122
- ' '
151
- - rootless
152
123
steps :
153
124
-
154
125
name : Checkout
@@ -167,12 +138,13 @@ jobs:
167
138
driver-opts : image=${{ env.SETUP_BUILDKIT_IMAGE }}
168
139
buildkitd-flags : --debug
169
140
-
170
- name : Login to DockerHub
141
+ name : Login to GitHub Container Registry
171
142
if : needs.prepare.outputs.push == 'push'
172
143
uses : docker/login-action@v2
173
144
with :
174
- username : ${{ secrets.DOCKERHUB_USERNAME }}
175
- password : ${{ secrets.DOCKERHUB_TOKEN }}
145
+ registry : ghcr.io
146
+ username : ${{ github.actor }}
147
+ password : ${{ secrets.GITHUB_TOKEN }}
176
148
-
177
149
name : Build ${{ needs.prepare.outputs.tag }}
178
150
run : |
@@ -187,7 +159,6 @@ jobs:
187
159
runs-on : ubuntu-22.04
188
160
needs :
189
161
- prepare
190
- - test
191
162
- binaries
192
163
- image
193
164
steps :
0 commit comments