From dc22ddd1f7bbe3c118824d38c7818c8bd0ba191f Mon Sep 17 00:00:00 2001 From: Zack Brady Date: Mon, 2 Sep 2024 00:15:32 -0400 Subject: [PATCH] fixed workflow typo --- .github/workflows/main.yaml | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 04a4852..5755a2d 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -277,10 +277,12 @@ jobs: RancherAirgapVersion=$(curl -sI https://github.com/zackbradys/rancher-airgap/releases/latest | grep -i location | sed -e 's#.*tag/v##' -e 's/^[[:space:]]*//g' -e 's/[[:space:]]*$//g') - name: Fetch Public Key - run: curl -sfOL https://raw.githubusercontent.com/rancherfederal/carbide-releases/main/carbide-key.pub + run: | + curl -sfOL https://raw.githubusercontent.com/rancherfederal/carbide-releases/main/carbide-key.pub - name: Authenticate to Private Registry - run: hauler login ${Registry} --username ${RegistryUsername} --pasword ${RegistryPassword} + run: | + hauler login "${Registry}" --username "${RegistryUsername}" --password "${RegistryPassword}" - name: Set Up AWS CLI and Credentials uses: aws-actions/configure-aws-credentials@v4 @@ -310,56 +312,56 @@ jobs: - name: Build RKE2 run: | cd hauler/rke2 - time hauler store sync --platform linux/amd64 --registry ${Registry} --key carbide-key.pub --files rancher-airgap-rke2.yaml + time hauler store sync --platform linux/amd64 --registry "${Registry}" --key carbide-key.pub --files rancher-airgap-rke2.yaml time hauler store save --filename rke2-carbide.tar.zst - name: Build Rancher run: | cd hauler/rancher - time hauler store sync --platform linux/amd64 --registry ${Registry} --key carbide-key.pub --files rancher-airgap-rancher.yaml + time hauler store sync --platform linux/amd64 --registry "${Registry}" --key carbide-key.pub --files rancher-airgap-rancher.yaml time hauler store save --filename rancher-carbide.tar.zst - name: Build Rancher Minimal run: | cd hauler/rancher rm -rf store - time hauler store sync --platform linux/amd64 --registry ${Registry} --key carbide-key.pub --files rancher-airgap-rancher-minimal.yaml + time hauler store sync --platform linux/amd64 --registry "${Registry}" --key carbide-key.pub --files rancher-airgap-rancher-minimal.yaml time hauler store save --filename rancher-minimal-carbide.tar.zst - name: Build Longhorn run: | cd hauler/longhorn - time hauler store sync --platform linux/amd64 --registry ${Registry} --key carbide-key.pub --files rancher-airgap-longhorn.yaml + time hauler store sync --platform linux/amd64 --registry "${Registry}" --key carbide-key.pub --files rancher-airgap-longhorn.yaml time hauler store save --filename longhorn-carbide.tar.zst - name: Build NeuVector run: | cd hauler/neuvector - time hauler store sync --platform linux/amd64 --registry ${Registry} --key carbide-key.pub --files rancher-airgap-neuvector.yaml + time hauler store sync --platform linux/amd64 --registry "${Registry}" --key carbide-key.pub --files rancher-airgap-neuvector.yaml time hauler store save --filename neuvector-carbide.tar.zst - name: Build Harvester run: | cd hauler/harvester - time hauler store sync --platform linux/amd64 --registry ${Registry} --key carbide-key.pub --files rancher-airgap-harvester.yaml + time hauler store sync --platform linux/amd64 --registry "${Registry}" --key carbide-key.pub --files rancher-airgap-harvester.yaml time hauler store save --filename harvester-carbide.tar.zst - name: Build Gitea run: | cd hauler/gitea - time hauler store sync --platform linux/amd64 --registry ${Registry} --key carbide-key.pub --files rancher-airgap-gitea.yaml + time hauler store sync --platform linux/amd64 --registry "${Registry}" --key carbide-key.pub --files rancher-airgap-gitea.yaml time hauler store save --filename gitea-carbide.tar.zst - name: Build Kubevip run: | cd hauler/kubevip - time hauler store sync --platform linux/amd64 --registry ${Registry} --key carbide-key.pub --files rancher-airgap-kubevip.yaml + time hauler store sync --platform linux/amd64 --registry "${Registry}" --key carbide-key.pub --files rancher-airgap-kubevip.yaml time hauler store save --filename kubevip-carbide.tar.zst - name: Build Vault run: | cd hauler/vault - time hauler store sync --platform linux/amd64 --registry ${Registry} --key carbide-key.pub --files rancher-airgap-kubevip.yaml + time hauler store sync --platform linux/amd64 --registry "${Registry}" --key carbide-key.pub --files rancher-airgap-kubevip.yaml time hauler store save --filename vault-carbide.tar.zst - name: Fetch Hauler Binaries