Skip to content

Commit

Permalink
Fix: Invalid Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vkartk committed Jun 3, 2024
1 parent bdb4fe1 commit e12c5c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-docker-image-standard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
until check_availability; do
RETRY_COUNT=$((RETRY_COUNT + 1))
if [ $RETRY_COUNT -ge $MAX_RETRIES ]; then
echo "Caddy version ${{ env.VERSION }}-builder or ${{ env.VERSION }} is not available after $MAX_RETRIES retries. Triggering workflow again."
echo "Caddy version ${{ env.VERSION }}-builder or ${{ env.VERSION }} is not available after $MAX_RETRIES retries. Setting environment variable to trigger job again."
echo "DEPENDENCIES_AVAILABILITY=false" >> $GITHUB_ENV
exit 1
fi
Expand All @@ -85,7 +85,7 @@ jobs:
done
echo "DEPENDENCIES_AVAILABILITY=true" >> $GITHUB_ENV
- name: Trigger Build Workflow
- name: Trigger Build Workflow
if: env.DEPENDENCIES_AVAILABILITY == 'false'
uses: actions/github-script@v7
with:
Expand Down

0 comments on commit e12c5c0

Please sign in to comment.