Skip to content

Commit

Permalink
Add Missing DEPENDENCIES_AVAILABILITY
Browse files Browse the repository at this point in the history
  • Loading branch information
vkartk committed Jun 4, 2024
1 parent e12c5c0 commit 9da1eed
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-docker-image-alpine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ jobs:
if [ $RETRY_COUNT -ge $MAX_RETRIES ]; then
echo "Caddy version ${{ env.VERSION }}-builder-alpine or ${{ env.VERSION }}-alpine is not available after $MAX_RETRIES retries. Triggering workflow again."
echo "DEPENDENCIES_AVAILABILITY=false" >> $GITHUB_ENV
exit 1
fi
echo "Caddy version ${{ env.VERSION }}-builder-alpine or ${{ env.VERSION }}-alpine is not available. Retrying in $SLEEP_INTERVAL seconds..."
sleep $SLEEP_INTERVAL
done
echo "DEPENDENCIES_AVAILABILITY=true" >> $GITHUB_ENV
- name: Trigger Build Workflow
if: env.DEPENDENCIES_AVAILABILITY == 'false'
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/build-docker-image-standard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ jobs:
if [ $RETRY_COUNT -ge $MAX_RETRIES ]; then
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
echo "Caddy version ${{ env.VERSION }}-builder or ${{ env.VERSION }} is not available. Retrying in $SLEEP_INTERVAL seconds..."
sleep $SLEEP_INTERVAL
Expand Down

0 comments on commit 9da1eed

Please sign in to comment.