Skip to content

Commit 9ba0e5d

Browse files
committed
install latest buildah?
1 parent 4dd94be commit 9ba0e5d

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/build-ci-container-tooling.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,25 @@ jobs:
4545
echo "container-format-filename=$(echo $container_name-format:$tag | sed -e 's/\//-/g' -e 's/:/-/g').tar" >> $GITHUB_OUTPUT
4646
echo "container-lint-filename=$(echo $container_name-lint:$tag | sed -e 's/\//-/g' -e 's/:/-/g').tar" >> $GITHUB_OUTPUT
4747
48+
- name: Install Latest Buildah
49+
run: |
50+
echo "Installing latest Podman and Buildah from official PPA..."
51+
# Add Podman PPA which includes latest Buildah
52+
sudo apt-get update
53+
sudo apt-get install -y software-properties-common
54+
sudo add-apt-repository -y ppa:projectatomic/ppa || true
55+
56+
# Try to install from Kubic repository (more up-to-date)
57+
echo "deb https://download.opensuse.org/repositories/home:/alvistack/xUbuntu_24.04/ /" | sudo tee /etc/apt/sources.list.d/home:alvistack.list
58+
curl -fsSL https://download.opensuse.org/repositories/home:alvistack/xUbuntu_24.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_alvistack.gpg > /dev/null
59+
60+
sudo apt-get update
61+
sudo apt-get install -y podman buildah || echo "Failed to install from Kubic, keeping existing version"
62+
63+
echo "Installed versions:"
64+
podman --version
65+
buildah --version
66+
4867
- name: Print Build Tool Versions
4968
run: |
5069
echo "=== Podman Version ==="

0 commit comments

Comments
 (0)