Skip to content

Commit 9c035c9

Browse files
committed
add bob proxy as only mirror
1 parent d28b12e commit 9c035c9

File tree

8 files changed

+10
-648
lines changed

8 files changed

+10
-648
lines changed

.github/workflows/buildkit.yml

+7-36
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ concurrency:
55
cancel-in-progress: true
66

77
on:
8-
schedule:
9-
- cron: '0 10 * * *'
108
workflow_dispatch:
119
push:
1210
branches:
@@ -24,35 +22,11 @@ env:
2422
GO_VERSION: "1.20"
2523
SETUP_BUILDX_VERSION: "latest"
2624
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"
2927
DESTDIR: "./bin"
3028

3129
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-
5630
prepare:
5731
runs-on: ubuntu-22.04
5832
outputs:
@@ -83,8 +57,7 @@ jobs:
8357
fi
8458
echo "tag=${TAG}" >>${GITHUB_OUTPUT}
8559
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"]'
8861
8962
binaries:
9063
runs-on: ubuntu-22.04
@@ -139,13 +112,11 @@ jobs:
139112
runs-on: ubuntu-22.04
140113
needs:
141114
- prepare
142-
- test
143115
strategy:
144116
fail-fast: false
145117
matrix:
146118
target-stage:
147119
- ''
148-
- rootless
149120
steps:
150121
-
151122
name: Checkout
@@ -164,12 +135,13 @@ jobs:
164135
driver-opts: image=${{ env.SETUP_BUILDKIT_IMAGE }}
165136
buildkitd-flags: --debug
166137
-
167-
name: Login to DockerHub
138+
name: Login to GitHub Container Registry
168139
if: needs.prepare.outputs.push == 'push'
169140
uses: docker/login-action@v3
170141
with:
171-
username: ${{ secrets.DOCKERHUB_USERNAME }}
172-
password: ${{ secrets.DOCKERHUB_TOKEN }}
142+
registry: ghcr.io
143+
username: ${{ github.actor }}
144+
password: ${{ secrets.GITHUB_TOKEN }}
173145
-
174146
name: Build ${{ needs.prepare.outputs.tag }}
175147
run: |
@@ -184,7 +156,6 @@ jobs:
184156
runs-on: ubuntu-22.04
185157
needs:
186158
- prepare
187-
- test
188159
- binaries
189160
- image
190161
steps:

.github/workflows/buildx-image.yml

-81
This file was deleted.

.github/workflows/dockerd.yml

-133
This file was deleted.

.github/workflows/docs-upstream.yml

-35
This file was deleted.

0 commit comments

Comments
 (0)