From 789aa3b79a455672fd3943a470192a9480a8f950 Mon Sep 17 00:00:00 2001 From: drunkendog Date: Mon, 28 Aug 2023 18:08:50 +0100 Subject: [PATCH] Fix output issue in docker build Actions --- .gitea/workflows/build-base-image.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build-base-image.yaml b/.gitea/workflows/build-base-image.yaml index a355482..f8b0d30 100644 --- a/.gitea/workflows/build-base-image.yaml +++ b/.gitea/workflows/build-base-image.yaml @@ -15,10 +15,10 @@ jobs: run: curl -s https://hub.docker.com/v2/repositories/drunkendog/standard-build-actions/tags/latest | jq '.last_updated' | xargs -i date --date {} +%s - | xargs -i expr $(date +%s) - {} + | xargs -i expr $(date +%s) - {} >> $GITHUB_OUTPUT Build-Image: needs: [Check-Last-Time] - if: Check-Last-Time.outputs.last-time < 1 + if: needs.Check-Last-Time.outputs.last-time > 1 runs-on: ubuntu-22.04 steps: - name: Check out repository code