Skip to content

Commit 49f985f

Browse files
authored
Update create-image.yml
1 parent ac89655 commit 49f985f

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/create-image.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,21 @@ on:
77
push:
88
tags:
99
- '*'
10-
10+
11+
workflow_dispatch:
1112

1213
jobs:
13-
build-image:
14+
build:
1415
runs-on: [self-hosted, Linux]
15-
steps:
16-
- name: Install prerequisites
17-
run: |
18-
sudo apt-get update
19-
sudo apt-get install qemu-utils libguestfs-tools
20-
- uses: actions/checkout@v2
16+
17+
steps:
18+
- uses: actions/checkout@v3
2119
with:
2220
submodules: 'true'
21+
- name: Install prerequisites
22+
run: |
23+
sudo dnf update -y
24+
sudo dnf install -y libguestfs-tools libguestfs-tools-c
2325
2426
- name: Build base image
2527
run: |

0 commit comments

Comments
 (0)