Skip to content

Commit 12b8fd2

Browse files
committed
fix: pull src in action
1 parent e43c2fb commit 12b8fd2

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

.github/workflows/build-images.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,32 +19,35 @@ jobs:
1919
- tag_suffix: el5
2020
dockerfile: ./docker/Dockerfile.centos5
2121
build_args: |
22-
CHINA_MIRROR=1
22+
CHINA_MIRROR=0
2323
- tag_suffix: el6
2424
dockerfile: ./docker/Dockerfile.centos
2525
build_args: |
2626
VERSION_NUM=6
27-
CHINA_MIRROR=1
27+
CHINA_MIRROR=0
2828
- tag_suffix: el7
2929
dockerfile: ./docker/Dockerfile.centos
3030
build_args: |
3131
VERSION_NUM=7
32-
CHINA_MIRROR=1
32+
CHINA_MIRROR=0
3333
- tag_suffix: el8
3434
dockerfile: ./docker/Dockerfile.centos
3535
build_args: |
3636
VERSION_NUM=8
37-
CHINA_MIRROR=1
37+
CHINA_MIRROR=0
3838
- tag_suffix: el9
3939
dockerfile: ./docker/Dockerfile.centos-stream
4040
build_args: |
4141
VERSION_NUM=9
42-
CHINA_MIRROR=1
42+
CHINA_MIRROR=0
4343
4444
steps:
4545
- name: Checkout repository
4646
uses: actions/checkout@v4
4747

48+
- name: Run pullsrc.sh
49+
run: env ALL=1 ./pullsrc.sh
50+
4851
- name: Set up Docker Buildx
4952
uses: docker/setup-buildx-action@v3
5053

@@ -96,7 +99,7 @@ jobs:
9699
file: ./docker/Dockerfile.centos-stream
97100
build-args: |
98101
VERSION_NUM=8
99-
CHINA_MIRROR=1
102+
CHINA_MIRROR=0
100103
push: true
101104
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:aarch64_el8
102105
cache-from: type=gha
@@ -132,7 +135,7 @@ jobs:
132135
file: ./docker/Dockerfile.centos-stream
133136
build-args: |
134137
VERSION_NUM=9
135-
CHINA_MIRROR=1
138+
CHINA_MIRROR=0
136139
push: true
137140
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:aarch64_el9
138141
cache-from: type=gha

0 commit comments

Comments
 (0)