Skip to content

Commit cc2f722

Browse files
committed
fix
Signed-off-by: Ryan Northey <[email protected]>
1 parent cefa443 commit cc2f722

File tree

2 files changed

+20
-9
lines changed

2 files changed

+20
-9
lines changed

.github/config.yml

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,76 +7,86 @@
77
debian:
88
ci:
99
paths:
10-
- docker/linux/debian/**
10+
- docker/linux/debian/*
1111
- docker/linux/debian_build.sh
1212
- docker/push.sh
1313
- docker/linux/build.sh
1414
- docker/linux/common_fun.sh
1515
- docker/linux/group_manifests.sh
16-
- .github/workflows/**
16+
- .github/**/*
1717
manifests:
18+
# devtools
1819
- name: envoy-build
1920
tag: devtools-{sha}
2021
registry: docker.io/envoyproxy
2122
architectures:
2223
- amd64
2324
- arm64
2425
artifact-pattern: oci-debian-{arch}/debian-devtools-{sha}-{arch}.tar
26+
# ci
2527
- name: envoy-build
2628
tag: ci-{sha}
2729
registry: docker.io/envoyproxy
2830
architectures:
2931
- amd64
3032
- arm64
3133
artifact-pattern: oci-debian-{arch}/debian-ci-{sha}-{arch}.tar
34+
# worker
3235
- name: envoy-build
3336
tag: worker-{sha}
3437
registry: docker.io/envoyproxy
3538
architectures:
3639
- amd64
3740
- arm64
3841
artifact-pattern: oci-debian-{arch}/debian-worker-{sha}-{arch}.tar
42+
# worker (gcr)
3943
- name: envoy-build
4044
tag: worker-{sha}
4145
registry: gcr.io/envoy-ci
4246
architectures:
4347
- amd64
4448
- arm64
4549
artifact-pattern: oci-debian-{arch}/debian-worker-{sha}-{arch}.tar
50+
# gcc
4651
- name: envoy-build
4752
tag: gcc-{sha}
4853
registry: docker.io/envoyproxy
4954
architectures:
5055
- amd64
5156
- arm64
5257
artifact-pattern: oci-debian-{arch}/debian-gcc-{sha}-{arch}.tar
58+
# gcc (gcr)
5359
- name: envoy-build
5460
tag: gcc-{sha}
5561
registry: gcr.io/envoy-ci
5662
architectures:
5763
- amd64
5864
- arm64
5965
artifact-pattern: oci-debian-{arch}/debian-gcc-{sha}-{arch}.tar
66+
# docker
6067
- name: envoy-build
6168
tag: docker-{sha}
6269
registry: docker.io/envoyproxy
6370
architectures:
6471
- amd64
6572
- arm64
6673
artifact-pattern: oci-debian-{arch}/debian-docker-{sha}-{arch}.tar
74+
# test
6775
- name: envoy-build
6876
tag: test-{sha}
6977
registry: docker.io/envoyproxy
7078
architectures:
7179
- amd64
7280
- arm64
7381
artifact-pattern: oci-debian-{arch}/debian-test-{sha}-{arch}.tar
82+
# llvm
7483
- name: envoy-build
7584
tag: llvm-{sha}
7685
registry: docker.io/envoyproxy
7786
architectures:
7887
- amd64
7988
artifact-pattern: oci-debian-{arch}/debian-llvm-{sha}-{arch}.tar
89+
# mobile
8090
- name: envoy-build
8191
tag: mobile-{sha}
8292
registry: docker.io/envoyproxy
@@ -87,41 +97,46 @@ debian:
8797
ubuntu:
8898
ci:
8999
paths:
90-
- docker/linux/ubuntu/**
100+
- docker/linux/ubuntu/*
91101
- docker/push.sh
92102
- docker/linux/build.sh
93103
- docker/linux/common_fun.sh
94104
- docker/linux/group_manifests.sh
95-
- .github/workflows/**
105+
- .github/**/*
96106
manifests:
107+
# ci
97108
- name: envoy-build-ubuntu
98109
tag: ci-{sha}
99110
registry: docker.io/envoyproxy
100111
architectures:
101112
- arm64
102113
- amd64
103114
artifact-pattern: oci-ubuntu-{arch}/ubuntu-ci-{sha}-{arch}.tar
115+
# mobile
104116
- name: envoy-build-ubuntu
105117
tag: mobile-{sha}
106118
registry: docker.io/envoyproxy
107119
architectures:
108120
- amd64
109121
artifact-pattern: oci-ubuntu-{arch}/ubuntu-mobile-{sha}-{arch}.tar
122+
# test
110123
- name: envoy-build-ubuntu
111124
tag: test-{sha}
112125
registry: docker.io/envoyproxy
113126
architectures:
114127
- amd64
115128
artifact-pattern: oci-ubuntu-{arch}/ubuntu-test-{sha}-{arch}.tar
129+
# full
116130
- name: envoy-build-ubuntu
117-
tag: full-f8d1fd9bdac3a7843d1e69816456648989d238be
131+
tag: full-{sha}
118132
registry: docker.io/envoyproxy
119133
architectures:
120134
- amd64
121135
- arm64
122136
artifact-pattern: oci-ubuntu-{arch}/ubuntu-full-{sha}-{arch}.tar
123137
additional-tags:
124138
- "{sha}"
139+
# full (gcr)
125140
- name: envoy-build
126141
tag: "{sha}"
127142
registry: gcr.io/envoy-ci

docker/linux/build.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@
22

33
set -o pipefail
44

5-
# Ubuntu-specific build configuration
65
UBUNTU_DOCKER_VARIANTS=("ci" "mobile" "test")
76
IMAGE_TAGS=${IMAGE_TAGS:-}
87

98

109
[[ -z "${OS_DISTRO}" ]] && OS_DISTRO="ubuntu"
1110
[[ -z "${IMAGE_NAME}" ]] && IMAGE_NAME="envoyproxy/envoy-build-${OS_DISTRO}"
1211

13-
# Ubuntu uses multi-arch builds by default
1412
if [[ -z "${BUILD_TOOLS_PLATFORMS}" ]]; then
1513
if [[ "${OS_DISTRO}" == "ubuntu" ]]; then
1614
export BUILD_TOOLS_PLATFORMS=linux/arm64,linux/amd64
@@ -46,7 +44,6 @@ config_env() {
4644
docker buildx create --use --name envoy-build-tools-builder --platform "${BUILD_TOOLS_PLATFORMS}"
4745
}
4846

49-
# Build Ubuntu variants with specific platform logic
5047
# TODO(phlax): add (json) build images config
5148
build_and_push_variants () {
5249
if [[ "${OS_DISTRO}" != "ubuntu" ]]; then
@@ -83,7 +80,6 @@ build_and_push_variants () {
8380

8481
ci_log_run config_env
8582

86-
# Default target for Ubuntu is 'full' (complete build environment)
8783
# Build the full/main image first
8884
if [[ "${SAVE_OCI}" == "true" ]]; then
8985
echo "Building OCI artifact to: ${OCI_OUTPUT_DIR}/${OS_DISTRO}-full-${CONTAINER_TAG}${ARCH_SUFFIX}.tar"

0 commit comments

Comments
 (0)