Skip to content

Commit 6c97e3e

Browse files
committed
add dhclient and enable conditional in workflow file
1 parent 0070d04 commit 6c97e3e

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/build-iso.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
docker push ghcr.io/mcserverhosting-net/os:latest
7171
7272
- name: Build ISOs
73-
# if: steps.changes.outputs.iso_changed == 'true' || github.event_name == 'schedule'
73+
if: steps.changes.outputs.iso_changed == 'true' || github.event_name == 'schedule'
7474
env:
7575
K8S_VERSION: ${{ env.K8S_VERSION }}
7676
ENABLE_NVIDIA: ${{ env.ENABLE_NVIDIA }}
@@ -86,18 +86,18 @@ jobs:
8686
-c "cd /workspace && make clean && make K8S_VERSION=$K8S_VERSION ENABLE_NVIDIA=$ENABLE_NVIDIA ENABLE_AMD=$ENABLE_AMD"
8787
8888
- name: List generated ISOs
89-
# if: steps.changes.outputs.iso_changed == 'true' || github.event_name == 'schedule'
89+
if: steps.changes.outputs.iso_changed == 'true' || github.event_name == 'schedule'
9090
run: ls -lh baseline/out/*.iso
9191

9292
- name: Upload ISO Artifacts
93-
# if: steps.changes.outputs.iso_changed == 'true' || github.event_name == 'schedule'
93+
if: steps.changes.outputs.iso_changed == 'true' || github.event_name == 'schedule'
9494
uses: actions/upload-artifact@v3
9595
with:
9696
name: custom-archiso
9797
path: baseline/out/*.iso
9898

9999
- name: Create GitHub Release
100-
# if: steps.changes.outputs.iso_changed == 'true' || github.event_name == 'schedule'
100+
if: steps.changes.outputs.iso_changed == 'true' || github.event_name == 'schedule'
101101
uses: softprops/action-gh-release@v1
102102
with:
103103
tag_name: 'v${{ env.K8S_VERSION }}'

baseline/packages.x86_64.template

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ avahi
2525
nss-mdns
2626
open-iscsi
2727
xfsprogs
28+
dhclient
2829
${UNIX_TOOLS}
2930
${NVIDIA_PACKAGES}
3031
${AMD_PACKAGES}

0 commit comments

Comments
 (0)