diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7767e12258..1b5ad24ef7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -184,17 +184,20 @@ jobs: uses: docker/setup-buildx-action@v3 - name: Login to Docker Hub - uses: docker/login-action@v3 + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v3 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push Docker images uses: nick-fields/retry@v3 @@ -257,18 +260,21 @@ jobs: # Build and deploy nginx. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -324,18 +330,21 @@ jobs: # Build and deploy e2e. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -391,18 +400,21 @@ jobs: # Build and deploy isolated-vm. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -458,18 +470,21 @@ jobs: # Build and deploy isolated-vm. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -528,18 +543,21 @@ jobs: # Build and deploy test-server. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -595,18 +613,21 @@ jobs: # Build and deploy otel-collector. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -664,18 +685,21 @@ jobs: # Build and deploy status-page. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -731,18 +755,21 @@ jobs: # Build and deploy test. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -798,18 +825,21 @@ jobs: # Build and deploy probe-ingest. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -866,18 +896,21 @@ jobs: # Build and deploy probe-ingest. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -935,18 +968,21 @@ jobs: # Build and deploy open-telemetry-ingest. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -1003,18 +1039,21 @@ jobs: # Build and deploy incoming-request-ingest. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -1070,18 +1109,21 @@ jobs: # Build and deploy fluent-ingest. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -1137,18 +1179,21 @@ jobs: # Build and deploy probe. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -1204,18 +1249,21 @@ jobs: # Build and deploy admin-dashboard. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -1272,18 +1320,21 @@ jobs: # Build and deploy dashboard. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -1339,18 +1390,21 @@ jobs: # Build and deploy app. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -1407,18 +1461,21 @@ jobs: # Build and deploy app. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -1474,18 +1531,21 @@ jobs: # Build and deploy accounts. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -1585,18 +1645,21 @@ jobs: # Build and deploy nginx. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -1654,18 +1717,21 @@ jobs: # Build and deploy nginx. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -1726,18 +1792,21 @@ jobs: # Build and deploy nginx. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -1798,18 +1867,21 @@ jobs: # Build and deploy nginx. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -1930,18 +2002,21 @@ jobs: # Build and deploy nginx. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -2027,17 +2102,20 @@ jobs: uses: docker/setup-buildx-action@v3 - name: Login to Docker Hub - uses: docker/login-action@v3 + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v3 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Create Docker Hub release tag from version run: | diff --git a/.github/workflows/test-release.yaml b/.github/workflows/test-release.yaml index d95763965e..590910b84c 100644 --- a/.github/workflows/test-release.yaml +++ b/.github/workflows/test-release.yaml @@ -176,17 +176,20 @@ jobs: uses: docker/setup-buildx-action@v3 - name: Login to Docker Hub - uses: docker/login-action@v3 + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v3 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push Docker images (test) uses: nick-fields/retry@v3 @@ -276,18 +279,21 @@ jobs: # Build and deploy nginx. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -347,18 +353,21 @@ jobs: # Build and deploy nginx. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -418,18 +427,21 @@ jobs: # Build and deploy e2e. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -487,18 +499,21 @@ jobs: # Build and deploy test-server. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -557,18 +572,21 @@ jobs: # Build and deploy otel-collector. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -627,18 +645,21 @@ jobs: # Build and deploy isolated-vm. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -697,18 +718,21 @@ jobs: # Build and deploy isolated-vm. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -769,18 +793,21 @@ jobs: # Build and deploy status-page. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -841,18 +868,21 @@ jobs: # Build and deploy test. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -911,18 +941,21 @@ jobs: # Build and deploy probe-ingest. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -983,18 +1016,21 @@ jobs: # Build and deploy ServerMonitorIngest. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -1056,18 +1092,21 @@ jobs: # Build and deploy incoming-request-ingest. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -1127,18 +1166,21 @@ jobs: # Build and deploy incoming-request-ingest. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -1197,18 +1239,21 @@ jobs: # Build and deploy probe-ingest. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -1267,18 +1312,21 @@ jobs: # Build and deploy probe. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -1337,18 +1385,21 @@ jobs: # Build and deploy dashboard. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -1407,18 +1458,21 @@ jobs: # Build and deploy admin-dashboard. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -1477,18 +1531,21 @@ jobs: # Build and deploy app. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -1550,18 +1607,21 @@ jobs: # Build and deploy app. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -1623,18 +1683,21 @@ jobs: # Build and deploy accounts. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -1694,18 +1757,21 @@ jobs: # Build and deploy accounts. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -1764,18 +1830,21 @@ jobs: # Build and deploy accounts. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -1835,18 +1904,21 @@ jobs: # Build and deploy accounts. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3 @@ -1907,18 +1979,21 @@ jobs: # Build and deploy accounts. - - name: Login to Docker Hub - uses: docker/login-action@v2.2.0 + - name: Login to Docker Hub + uses: nick-fields/retry@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin - name: Login to GitHub Container Registry - uses: docker/login-action@v2.2.0 + uses: nick-fields/retry@v3 with: - registry: ghcr.io - username: ${{ github.repository_owner }} - password: ${{ secrets.GITHUB_TOKEN }} + timeout_minutes: 5 + max_attempts: 3 + command: | + echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io --username "${{ github.repository_owner }}" --password-stdin - name: Build and push uses: nick-fields/retry@v3