File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 11name : Machinefile test
22
33on :
4+ workflow_dispatch :
45 push :
56 branches : [ main ]
67 pull_request :
Original file line number Diff line number Diff line change @@ -17,11 +17,13 @@ runs:
1717 id : setup
1818 shell : bash
1919 run : |
20+ VERSION=0.2.5
21+ DOWNLOAD_BASEURL="https://github.com/gbraad-redhat/Machinefile/releases/download/${VERSION}"
2022 arch=$(uname -m)
2123 if [[ "$arch" == "x86_64" ]]; then
22- DOWNLOAD_URL="https://github.com/gbraad-redhat/Machinefile/releases/download/0.2.0 /linux-amd64.tar.gz"
24+ DOWNLOAD_URL="${DOWNLOAD_BASEURL} /linux-amd64.tar.gz"
2325 elif [[ "$arch" == "aarch64" ]]; then
24- DOWNLOAD_URL="https://github.com/gbraad-redhat/Machinefile/releases/download/0.2.0 /linux-arm64.tar.gz"
26+ DOWNLOAD_URL="${DOWNLOAD_BASEURL} /linux-arm64.tar.gz"
2527 else
2628 echo "::error::Unsupported architecture: $arch. Only x86_64 and aarch64 are supported."
2729 exit 1
3638 - name : Execute Containerfile commands
3739 shell : bash
3840 run : |
39- echo "Running Containerfile: ${{ inputs.dockerfile }}"
41+ echo "Running Containerfile: ${{ inputs.containerfile }}"
4042 echo "Context directory: ${{ inputs.context }}"
4143 sudo /tmp/machinefile-executor/machinefile "${{ inputs.containerfile }}" "${{ inputs.context }}"
You can’t perform that action at this time.
0 commit comments