@@ -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 :
83
57
fi
84
58
echo "tag=${TAG}" >>${GITHUB_OUTPUT}
85
59
echo "push=${PUSH}" >>${GITHUB_OUTPUT}
86
- platforms=$(docker buildx bake release --print | jq -cr '.target."release".platforms')
87
- echo "platforms=$platforms" >>${GITHUB_OUTPUT}
60
+ echo ::set-output name=platforms::'["linux/amd64"]'
88
61
89
62
binaries :
90
63
runs-on : ubuntu-22.04
@@ -139,13 +112,11 @@ jobs:
139
112
runs-on : ubuntu-22.04
140
113
needs :
141
114
- prepare
142
- - test
143
115
strategy :
144
116
fail-fast : false
145
117
matrix :
146
118
target-stage :
147
119
- ' '
148
- - rootless
149
120
steps :
150
121
-
151
122
name : Checkout
@@ -164,12 +135,13 @@ jobs:
164
135
driver-opts : image=${{ env.SETUP_BUILDKIT_IMAGE }}
165
136
buildkitd-flags : --debug
166
137
-
167
- name : Login to DockerHub
138
+ name : Login to GitHub Container Registry
168
139
if : needs.prepare.outputs.push == 'push'
169
140
uses : docker/login-action@v3
170
141
with :
171
- username : ${{ secrets.DOCKERHUB_USERNAME }}
172
- password : ${{ secrets.DOCKERHUB_TOKEN }}
142
+ registry : ghcr.io
143
+ username : ${{ github.actor }}
144
+ password : ${{ secrets.GITHUB_TOKEN }}
173
145
-
174
146
name : Build ${{ needs.prepare.outputs.tag }}
175
147
run : |
@@ -184,7 +156,6 @@ jobs:
184
156
runs-on : ubuntu-22.04
185
157
needs :
186
158
- prepare
187
- - test
188
159
- binaries
189
160
- image
190
161
steps :
0 commit comments