Skip to content

Commit e31ea85

Browse files
authored
Update images to Ubuntu 24.04 (#124)
* Update images to Ubuntu 24.04 * Modify workflow to test * Fix .NET Core SDK installation * Fix PowerShell installation * Fix toolset docker plugins assets * Remove unused outdated readme * Fix no such file or directory error for readmes * Make software-report.md more workflow friendly * Add missing install scripts to 24.04 arm64 * Revert back to main before the PR is merged
1 parent 2660abc commit e31ea85

10 files changed

+774
-422
lines changed

.github/workflows/packer-build-and-publish.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ jobs:
9898
fail-fast: false
9999
matrix:
100100
template:
101-
- images/ubuntu/templates/ubuntu-22.04.pkr.hcl
102-
- images/ubuntu/templates/ubuntu-22.04.arm64.pkr.hcl
101+
- images/ubuntu/templates/ubuntu-24.04.pkr.hcl
102+
- images/ubuntu/templates/ubuntu-24.04.arm64.pkr.hcl
103103

104104
steps:
105105
- name: Checkout repository
@@ -183,15 +183,14 @@ jobs:
183183
- name: Preapre artifacts
184184
id: artifacts
185185
run: |
186-
git add -N .
187186
mkdir -p artifacts
188187
name=$(basename -s .pkr.hcl ${{ matrix.template }})
189-
readme=$(git diff --name-only -- '*.md')
190-
mv "$readme" artifacts/readme-${name}.md
188+
readme=$(git ls-files --others --exclude-standard -- '**/software-report.md')
189+
mv "$readme" artifacts/${name}-software-report.md
191190
report=$(git ls-files --others --exclude-standard -- '**/software-report.json')
192-
mv "$report" artifacts/software-report-${name}.json
191+
mv "$report" artifacts/${name}-software-report.json
193192
manifest=$(git ls-files --others --exclude-standard -- '**/build-manifest.json')
194-
mv "$manifest" artifacts/build-manifest-${name}.json
193+
mv "$manifest" artifacts/${name}-build-manifest.json
195194
echo "name=$name" >> "${GITHUB_OUTPUT}"
196195
197196
- name: Upload artifacts

images/ubuntu/Ubuntu2204-arm64-Readme.md

-350
This file was deleted.

0 commit comments

Comments
 (0)