Move check after installing dependencies as skopeo is used
All checks were successful
Build container image / Build and push image (push) Successful in 35m59s

This commit is contained in:
2026-01-04 10:32:38 -05:00
parent 5f3e9a3b31
commit 7242b84ed7

View File

@@ -53,6 +53,12 @@ jobs:
run: |
echo "DEFAULT_TAG=pr-${PULL_REQUEST_NUMBER}" >> ${GITHUB_ENV}
- name: Setup Podman and other dependencies
shell: bash
run: |
sudo apt-get update
sudo apt-get install -y podman skopeo iptables
- name: Check time since last image was created
if: github.event_name == 'schedule'
run: |
@@ -60,13 +66,6 @@ jobs:
CURRENT_DATE=$(date --utc +%s)
echo "RUN_SCHEDULE=$(($CURRENT_DATE - $IMAGE_DATE < 82800))" >> ${GITHUB_ENV}
- name: Setup Podman and other dependencies
if: env.RUN_SCHEDULE
shell: bash
run: |
sudo apt-get update
sudo apt-get install -y podman skopeo iptables
# These stage versions are pinned by https://github.com/renovatebot/renovate
- name: Checkout
if: env.RUN_SCHEDULE