Skip to content

Commit 91ec6c3

Browse files
committed
workflows: Test push to local registry
DO NOT MERGE ON EVE PROJECT! Signed-off-by: Renê de Souza Pinto <rene@renesp.com.br>
1 parent f83dbf6 commit 91ec6c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
# sadly, our build sometimes times out on network access
7474
# and running out of disk space: re-trying for 3 times
7575
for i in 1 2 3; do
76-
if make -e V=1 LINUXKIT_PKG_TARGET=push PRUNE=1 pkgs; then
76+
if make -e V=1 REGISTRY=localhost:5001 LINUXKIT_PKG_TARGET=push PRUNE=1 pkgs; then
7777
SUCCESS=true
7878
break
7979
else
@@ -120,13 +120,13 @@ jobs:
120120
fetch-depth: 0
121121
- uses: ./.github/actions/run-make
122122
with:
123-
command: "V=1 HV=${{ matrix.hv }} ZARCH=${{ matrix.arch }} LINUXKIT_PKG_TARGET=push eve"
123+
command: "V=1 HV=${{ matrix.hv }} ZARCH=${{ matrix.arch }} REGISTRY=localhost:5001 LINUXKIT_PKG_TARGET=push eve"
124124
dockerhub-token: ${{ secrets.RELEASE_DOCKERHUB_TOKEN }}
125125
dockerhub-account: ${{ secrets.RELEASE_DOCKERHUB_ACCOUNT }}
126126
- uses: ./.github/actions/run-make
127127
if: matrix.arch != 'riscv64'
128128
with:
129-
command: "V=1 HV=${{ matrix.hv }} ZARCH=${{ matrix.arch }} LINUXKIT_PKG_TARGET=push sbom collected_sources compare_sbom_collected_sources publish_sources"
129+
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"
130130
dockerhub-token: ${{ secrets.RELEASE_DOCKERHUB_TOKEN }}
131131
dockerhub-account: ${{ secrets.RELEASE_DOCKERHUB_ACCOUNT }}
132132

0 commit comments

Comments
 (0)