Move check after installing dependencies as skopeo is used
All checks were successful
Build container image / Build and push image (push) Successful in 35m59s
All checks were successful
Build container image / Build and push image (push) Successful in 35m59s
This commit is contained in:
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user