Skip to content

Commit 3a150f2

Browse files
committed
Add arch parameter for the image naming
Signed-off-by: Koray Oksay <koray.oksay@gmail.com>
1 parent ad3e717 commit 3a150f2

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/change-file-build-new-actions-vm.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,9 @@ jobs:
6868
OCI_CLI_KEY_CONTENT: ${{ secrets.OCI_CLI_KEY_CONTENT }}
6969
OCI_CLI_REGION: ${{ secrets.OCI_CLI_REGION }}
7070
OCI_INSTANCE_ID: ${{ secrets.OCI_INSTANCE_ID }}
71-
run: export PATH=$PATH:$HOME/bin && cd ci/gha-runner-vm && PACKER_LOG=1 go run main.go --isoURL https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-${{ matrix.arch }}.img
71+
run: |
72+
export PATH=$PATH:$HOME/bin && \
73+
cd ci/gha-runner-vm && \
74+
PACKER_LOG=1 go run main.go \
75+
--isoURL https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-${{ matrix.arch }}.img \
76+
--arch ${{ matrix.arch }}

.github/workflows/periodic-build-new-actions-vm.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,9 @@ jobs:
6363
OCI_CLI_KEY_CONTENT: ${{ secrets.OCI_CLI_KEY_CONTENT }}
6464
OCI_CLI_REGION: ${{ secrets.OCI_CLI_REGION }}
6565
OCI_INSTANCE_ID: ${{ secrets.OCI_INSTANCE_ID }}
66-
run: export PATH=$PATH:$HOME/bin && cd ci/gha-runner-vm && PACKER_LOG=1 go run main.go --isoURL https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-${{ matrix.arch }}.img
66+
run: |
67+
export PATH=$PATH:$HOME/bin && \
68+
cd ci/gha-runner-vm && \
69+
PACKER_LOG=1 go run main.go \
70+
--isoURL https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-${{ matrix.arch }}.img \
71+
--arch ${{ matrix.arch }}

0 commit comments

Comments
 (0)