use mirror-01 as filehost

Previously the container would use downloads.openwrt.org aka mirror-02
which has a short delay on images. This would break webhooks since they
fire one ready on mirror-01 while not yet fully transferred to mirror-02.

Signed-off-by: Paul Spooren <mail@aparcar.org>
pull/122/head
Paul Spooren 2023-09-30 02:59:19 +02:00
parent 5464f28b6a
commit 9681edad58
1 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,8 @@
name: Build and push containers
env:
FILE_HOST: mirror-01.infra.openwrt.org
on:
# push:
pull_request:
@ -214,6 +217,7 @@ jobs:
DOWNLOAD_FILE=imagebuilder-.*x86_64.tar.xz
VERSION_PATH=${{ needs.generate_matrix.outputs.version_path }}
TARGET=${{ matrix.target }}
FILE_HOST=${{ env.FILE_HOST }}
push-sdk-container:
name: SDK
@ -325,6 +329,7 @@ jobs:
DOWNLOAD_FILE=sdk-.*.Linux-x86_64.tar.xz
VERSION_PATH=${{ needs.generate_matrix.outputs.version_path }}
TARGET=${{ matrix.target }}
FILE_HOST=${{ env.FILE_HOST }}
labels: ${{ steps.meta_ref.outputs.labels }}
push-rootfs-container:
@ -400,6 +405,7 @@ jobs:
TARGET=${{ matrix.target }}
BASE_IMAGE=scratch
CMD=ash
FILE_HOST=${{ env.FILE_HOST }}
EOF' >> $GITHUB_OUTPUT
- name: Build