diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 5f2726c..99c14a0 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -31,6 +31,7 @@ jobs: strategy: fail-fast: false + max-parallel: 1 matrix: include: - image: mate-webui @@ -84,12 +85,24 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - - name: Log in to GitHub Container Registry - uses: docker/login-action@v3 - with: - registry: ${{ env.REGISTRY }} - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + - name: Log in to GitHub Container Registry (with retry) + env: + GHCR_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + for attempt in 1 2 3; do + if echo "$GHCR_TOKEN" | docker login ${{ env.REGISTRY }} -u "${{ github.actor }}" --password-stdin; then + echo "GHCR login succeeded on attempt ${attempt}." + exit 0 + fi + + echo "GHCR login attempt ${attempt} failed." + if [ "$attempt" -eq 3 ]; then + echo "::error::Unable to log in to GHCR after 3 attempts." + exit 1 + fi + + sleep $((attempt * 10)) + done - name: Extract Docker metadata id: meta diff --git a/docs/wiki b/docs/wiki index ccc713b..960a4ae 160000 --- a/docs/wiki +++ b/docs/wiki @@ -1 +1 @@ -Subproject commit ccc713b79b7f33995c00f24f5867c0950f625444 +Subproject commit 960a4ae6dedb47262fc220d30e2239f93a3a1b62 diff --git a/quickstart-azure/QUICKSTART.md b/quickstart-azure/QUICKSTART.md index d55a68e..a193987 100644 --- a/quickstart-azure/QUICKSTART.md +++ b/quickstart-azure/QUICKSTART.md @@ -114,4 +114,4 @@ az group delete --name rg-mate-dev --- -**Next:** After deployment succeeds, read [docs/wiki/User-Getting-Started.md](../../docs/wiki/User-Getting-Started.md) to set up your first test suite. +**Next:** After deployment succeeds, read [docs/wiki/User-Getting-Started.md](https://github.com/holgerimbery/mate/blob/main/docs/wiki/User-Getting-Started.md) to set up your first test suite. diff --git a/quickstart-azure/README.md b/quickstart-azure/README.md index 81629f4..4688b39 100644 --- a/quickstart-azure/README.md +++ b/quickstart-azure/README.md @@ -293,7 +293,7 @@ For issues or questions: 1. Check [Troubleshooting](#troubleshooting) above 2. Review logs using Azure CLI commands above 3. Open an issue on [GitHub](https://github.com/holgerimbery/mate/issues) -4. See [docs/wiki/Developer-Getting-Started.md](../../docs/wiki/Developer-Getting-Started.md) for more details +4. See [docs/wiki/Developer-Getting-Started.md](https://github.com/holgerimbery/mate/blob/main/docs/wiki/Developer-Getting-Started.md) for more details ---