Skip to content

Commit

Permalink
Upgrade buildah rather than upgrading and try pulling an image to ini…
Browse files Browse the repository at this point in the history
…t podman storage

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
  • Loading branch information
l0rd committed Sep 4, 2024
1 parent a22a2dc commit fb68929
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@ release_task:
region: us-east-1
architecture: amd64
setup_script: |
dnf update -y
dnf install 'dnf-command(config-manager)'
dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo
dnf install -y gh git buildah
dnf install -y gh git
dnf upgrade -y podman buildah
release_script: |
set +o verbose
HTTP_PREFIX="$GITHUB_SERVER_URL/$CIRRUS_REPO_FULL_NAME/releases/latest/download"
Expand Down Expand Up @@ -189,6 +189,9 @@ release_task:
gh release edit $NEXT_RELEASE --draft=false
# Package the WSL zst compressed disks as an OCI artifact
podman login -u="$QUAY_PODMAN_USERNAME" -p="$QUAY_PODMAN_PASSWORD" quay.io
podman pull quay.io/libpod/alpine
podman images
FULL_IMAGE_NAME=$IMAGE_REGISTRY/$IMAGE_REPO/$IMAGE_NAME:$IMAGE_TAG
buildah manifest create $FULL_IMAGE_NAME
for disk_arch in x86_64 aarch64; do
Expand All @@ -204,5 +207,4 @@ release_task:
# That looks unecessary now.
# Push the OCI artifact to quay.io
podman login -u="$QUAY_PODMAN_USERNAME" -p="$QUAY_PODMAN_PASSWORD" quay.io
podman push $FULL_IMAGE_NAME
podman push --log-level debug $FULL_IMAGE_NAME

0 comments on commit fb68929

Please sign in to comment.