Skip to content

Commit 7973ce9

Browse files
committed
Update to newer version
1 parent de998aa commit 7973ce9

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/build-process.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Machinefile test
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches: [ main ]
67
pull_request:

action.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff 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
@@ -36,6 +38,6 @@ runs:
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 }}"

0 commit comments

Comments
 (0)