Skip to content

Commit 41ec772

Browse files
committed
[DO NOT MERGE]: Add custom REGISTRY to manifest
Signed-off-by: Renê de Souza Pinto <rene@renesp.com.br>
1 parent d1f7a6e commit 41ec772

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
# sadly, our build sometimes times out on network access
8383
# and running out of disk space: re-trying for 3 times
8484
for i in 1 2 3; do
85-
if make -e V=1 REGISTRY=localhost:5001 PLATFORM=${{ matrix.platform }} LINUXKIT_PKG_TARGET=push PRUNE=1 pkgs; then
85+
if make -e V=1 REGISTRY=10.208.13.132:5001 PLATFORM=${{ matrix.platform }} LINUXKIT_PKG_TARGET=push PRUNE=1 pkgs; then
8686
SUCCESS=true
8787
break
8888
else
@@ -138,13 +138,13 @@ jobs:
138138
fetch-depth: 0
139139
- uses: ./.github/actions/run-make
140140
with:
141-
command: "V=1 HV=${{ matrix.hv }} ZARCH=${{ matrix.arch }} REGISTRY=localhost:5001 PLATFORM=${{ matrix.platform }} LINUXKIT_PKG_TARGET=push eve"
141+
command: "V=1 HV=${{ matrix.hv }} ZARCH=${{ matrix.arch }} REGISTRY=10.208.13.132:5001 PLATFORM=${{ matrix.platform }} LINUXKIT_PKG_TARGET=push eve"
142142
dockerhub-token: ${{ secrets.RELEASE_DOCKERHUB_TOKEN }}
143143
dockerhub-account: ${{ secrets.RELEASE_DOCKERHUB_ACCOUNT }}
144144
- uses: ./.github/actions/run-make
145145
if: matrix.arch != 'riscv64'
146146
with:
147-
command: "V=1 HV=${{ matrix.hv }} ZARCH=${{ matrix.arch }} REGISTRY=localhost:5001 LINUXKIT_PKG_TARGET=push sbom collected_sources compare_sbom_collected_sources publish_sources"
147+
command: "V=1 HV=${{ matrix.hv }} ZARCH=${{ matrix.arch }} REGISTRY=10.208.13.132:5001 LINUXKIT_PKG_TARGET=push sbom collected_sources compare_sbom_collected_sources publish_sources"
148148
dockerhub-token: ${{ secrets.RELEASE_DOCKERHUB_TOKEN }}
149149
dockerhub-account: ${{ secrets.RELEASE_DOCKERHUB_ACCOUNT }}
150150

@@ -158,7 +158,7 @@ jobs:
158158
fetch-depth: 0
159159
- uses: ./.github/actions/run-make
160160
with:
161-
command: "V=1 LINUXKIT_PKG_TARGET=manifest pkgs"
161+
command: "V=1 REGISTRY=10.208.13.132:5001 LINUXKIT_PKG_TARGET=manifest pkgs"
162162
dockerhub-token: ${{ secrets.RELEASE_DOCKERHUB_TOKEN }}
163163
dockerhub-account: ${{ secrets.RELEASE_DOCKERHUB_ACCOUNT }}
164164

0 commit comments

Comments
 (0)