Add buildah to install packages as was not included
Some checks failed
Build container image / Build and push image (push) Failing after 10s
Some checks failed
Build container image / Build and push image (push) Failing after 10s
This commit is contained in:
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -42,6 +42,7 @@ jobs:
|
|||||||
echo "IMAGE_REGISTRY=${IMAGE_REGISTRY,,}" >> ${GITHUB_ENV}
|
echo "IMAGE_REGISTRY=${IMAGE_REGISTRY,,}" >> ${GITHUB_ENV}
|
||||||
echo "IMAGE_NAME=${IMAGE_NAME,,}" >> ${GITHUB_ENV}
|
echo "IMAGE_NAME=${IMAGE_NAME,,}" >> ${GITHUB_ENV}
|
||||||
|
|
||||||
|
# Get Ubuntu version and setup podman taken from bluebuild and modified to work here
|
||||||
- name: Get Ubuntu version
|
- name: Get Ubuntu version
|
||||||
id: ubuntu_version
|
id: ubuntu_version
|
||||||
shell: bash
|
shell: bash
|
||||||
@@ -50,8 +51,7 @@ jobs:
|
|||||||
echo "Ubuntu version is $VERSION"
|
echo "Ubuntu version is $VERSION"
|
||||||
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
|
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
# that is compatible with BlueBuild
|
- name: Setup Podman and buildah
|
||||||
- name: Setup Podman
|
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
UBUNTU_VERSION: ${{ steps.ubuntu_version.outputs.version }}
|
UBUNTU_VERSION: ${{ steps.ubuntu_version.outputs.version }}
|
||||||
@@ -63,7 +63,7 @@ jobs:
|
|||||||
echo "deb ${sources_url}/ /" | sudo tee /etc/apt/sources.list.d/devel-kubic-libcontainers-unstable.list
|
echo "deb ${sources_url}/ /" | sudo tee /etc/apt/sources.list.d/devel-kubic-libcontainers-unstable.list
|
||||||
curl -fsSL "${key_url}" | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/devel_kubic_libcontainers_unstable.gpg > /dev/null
|
curl -fsSL "${key_url}" | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/devel_kubic_libcontainers_unstable.gpg > /dev/null
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y podman
|
sudo apt-get install -y podman buildah
|
||||||
|
|
||||||
# These stage versions are pinned by https://github.com/renovatebot/renovate
|
# These stage versions are pinned by https://github.com/renovatebot/renovate
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|||||||
Reference in New Issue
Block a user