Update check to account equal times
Build container image / Build and push image (push) Failing after 48s
Build container image / Build and push image (push) Failing after 48s
This commit is contained in:
@@ -51,25 +51,25 @@ jobs:
|
||||
|
||||
# These stage versions are pinned by https://github.com/renovatebot/renovate
|
||||
- name: Checkout
|
||||
if: env.TIME_SINCE_LAST_BUILD > env.BUILD_COOLDOWN
|
||||
if: env.TIME_SINCE_LAST_BUILD >= env.BUILD_COOLDOWN
|
||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
|
||||
|
||||
- name: Maximize build space
|
||||
if: env.TIME_SINCE_LAST_BUILD > env.BUILD_COOLDOWN
|
||||
if: env.TIME_SINCE_LAST_BUILD >= env.BUILD_COOLDOWN
|
||||
uses: ublue-os/remove-unwanted-software@695eb75bc387dbcd9685a8e72d23439d8686cba6
|
||||
|
||||
- name: Install just
|
||||
if: env.TIME_SINCE_LAST_BUILD > env.BUILD_COOLDOWN
|
||||
if: env.TIME_SINCE_LAST_BUILD >= env.BUILD_COOLDOWN
|
||||
uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 #v4.0.0
|
||||
|
||||
- name: Check Just Syntax
|
||||
if: env.TIME_SINCE_LAST_BUILD > env.BUILD_COOLDOWN
|
||||
if: env.TIME_SINCE_LAST_BUILD >= env.BUILD_COOLDOWN
|
||||
shell: bash
|
||||
run: |
|
||||
just check
|
||||
|
||||
- name: Image Name
|
||||
if: env.TIME_SINCE_LAST_BUILD > env.BUILD_COOLDOWN
|
||||
if: env.TIME_SINCE_LAST_BUILD >= env.BUILD_COOLDOWN
|
||||
id: image-name
|
||||
run: |
|
||||
IMAGE_NAME=$(just image_name)
|
||||
@@ -77,7 +77,7 @@ jobs:
|
||||
echo "IMAGE_NAME=${IMAGE_NAME}" >> $GITHUB_ENV
|
||||
|
||||
- name: Default Tag
|
||||
if: env.TIME_SINCE_LAST_BUILD > env.BUILD_COOLDOWN
|
||||
if: env.TIME_SINCE_LAST_BUILD >= env.BUILD_COOLDOWN
|
||||
id: gen-default-tag
|
||||
run: |
|
||||
DEFAULT_TAG=$(just generate-default-tag)
|
||||
@@ -86,7 +86,7 @@ jobs:
|
||||
|
||||
# This actually builds the container image
|
||||
- name: Build Image
|
||||
if: env.TIME_SINCE_LAST_BUILD > env.BUILD_COOLDOWN
|
||||
if: env.TIME_SINCE_LAST_BUILD >= env.BUILD_COOLDOWN
|
||||
id: build-image
|
||||
run: |
|
||||
sudo -E $(command -v just) build \
|
||||
@@ -95,7 +95,7 @@ jobs:
|
||||
|
||||
# This is optional, this provides smaller delta updates
|
||||
- name: Rechunk
|
||||
if: env.TIME_SINCE_LAST_BUILD > env.BUILD_COOLDOWN
|
||||
if: env.TIME_SINCE_LAST_BUILD >= env.BUILD_COOLDOWN
|
||||
id: rechunk
|
||||
run: |
|
||||
sudo -E $(command -v just) rechunk \
|
||||
|
||||
Reference in New Issue
Block a user