blue-build / github-action

Reusable GitHub Action to build custom images
Apache License 2.0
14 stars 4 forks source link

fix: Only install podman from opensuse repo if Ubuntu is 22.04 #59

Closed gmpinder closed 1 month ago

gmpinder commented 1 month ago

Tested both 22.04 and 24.04 here: https://github.com/gmpinder/testos/actions/runs/11331150498

fiftydinar commented 1 month ago

@gmpinder

Slight nitpick.

Using this is more future-proof: awk -F= '/^VERSION_ID=/ {gsub(/"/, "", $2); print $2}' /etc/os-release