fix(gha/vyos-build): left env var name blank

This commit is contained in:
JJGadgets
2024-03-01 05:04:38 +08:00
parent dbf7eafc71
commit 46fd412c88
2 changed files with 6 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ on:
- .github/workflows/vyos-build.yaml
env:
VYOS_BUILDER: "${{ github.repository }}"
VYOS_BUILDER: "${{ github.repository_owner }}"
# renovate: datasource=github-tags depName=vyos/vyos-1x
VYOS_VERSION: "1.4.0-epa1"
VYOS_ARCH: "amd64"
@@ -52,7 +52,7 @@ jobs:
- name: Configure
shell: bash
run: "sudo ./vyos/build.sh"
run: "sudo VYOS_VERSION=${{ env.VYOS_VERSION }} VYOS_ARCH=${{ env.VYOS_ARCH }} VYOS_BUILDER=${{ env.VYOS_BUILDER }} VYOS_BUILD_TIME=${{ env.VYOS_BUILD_TIME }} bash ./vyos/build.sh"
- name: Create release with artifact
uses: ncipollo/release-action@v1

View File

@@ -19,8 +19,12 @@ ATUIN_VERSION="${ATUIN_VERSION#*v}"
TASK_VERSION="v3.35.0"
TASK_VERSION="${TASK_VERSION#*v}"
pwd
git clone --depth=1 --branch "${VYOS_VERSION}" --single-branch "${VYOS_URL}" ./vyos-build
cd ./vyos-build
mkdir -p ./build ./packages
pwd
ls -AlhR . # debug
curl -vL -o ./packages/sops.deb "https://github.com/getsops/sops/releases/download/v${SOPS_VERSION}/sops_${SOPS_VERSION}_${VYOS_ARCH}.deb"
curl -vL -o ./packages/atuin.deb "https://github.com/atuinsh/atuin/releases/download/v${ATUIN_VERSION}/atuin_${ATUIN_VERSION}_${VYOS_ARCH}.deb"