diff --git a/.github/workflows/container.yaml b/.github/workflows/container.yaml index 61b4843c1..2de51ee95 100644 --- a/.github/workflows/container.yaml +++ b/.github/workflows/container.yaml @@ -51,6 +51,10 @@ jobs: EARTHLY_PUSH: true run: ./build/develop/container.sh - - name: Build - if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }} - run: ./build/develop/container.sh \ No newline at end of file + - name: Build and push + if: ${{ github.event_name == 'schedule' && env.GH_CR_PAT != null }} + uses: nick-fields/retry@v2 + with: + timeout_minutes: 10 + max_attempts: 3 + command: ./build/develop/container.sh