Fix output issue in docker build Actions
Build Docker Image for Actions / Check-Last-Time (push) Failing after 3s Details
Build Docker Image for Actions / Build-Image (push) Has been skipped Details
Code Quality Test / Quality-Check (push) Successful in 5s Details
Environment Setup Test / Setup (push) Successful in 29s Details

pull/4/head
drunkendog 2023-08-28 18:08:50 +01:00
parent ea53ea31bb
commit 789aa3b79a
1 changed files with 2 additions and 2 deletions

View File

@ -15,10 +15,10 @@ jobs:
run: curl -s https://hub.docker.com/v2/repositories/drunkendog/standard-build-actions/tags/latest run: curl -s https://hub.docker.com/v2/repositories/drunkendog/standard-build-actions/tags/latest
| jq '.last_updated' | jq '.last_updated'
| xargs -i date --date {} +%s | xargs -i date --date {} +%s
| xargs -i expr $(date +%s) - {} | xargs -i expr $(date +%s) - {} >> $GITHUB_OUTPUT
Build-Image: Build-Image:
needs: [Check-Last-Time] 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 runs-on: ubuntu-22.04
steps: steps:
- name: Check out repository code - name: Check out repository code