From 7913534caeb2eae0f22d406f7597181d9c0c0b93 Mon Sep 17 00:00:00 2001 From: Anuj Chaudhari Date: Tue, 1 Oct 2024 15:00:50 -0700 Subject: [PATCH] Test using ghcr.io/vmware-tanzu to host docker images --- .github/workflows/build.yaml | 7 +++++++ hack/check/check-mdlint.sh | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 1fe3ab522..e40edb4fe 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -31,6 +31,13 @@ jobs: - name: Check out code into the Go module directory uses: actions/checkout@v1 + - name: Login to GitHub Container Registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GH_TOKEN_FOR_GHCR }} + - name: Run markdown link check uses: gaurav-nelson/github-action-markdown-link-check@v1 with: diff --git a/hack/check/check-mdlint.sh b/hack/check/check-mdlint.sh index 3f27d449c..b44d787da 100755 --- a/hack/check/check-mdlint.sh +++ b/hack/check/check-mdlint.sh @@ -16,6 +16,6 @@ cd "$(dirname "${BASH_SOURCE[0]}")/../.." # Additional configuration can be found in the .markdownlintrc file at # the root of the repo. docker run --rm -v "$(pwd)":/build \ - gcr.io/eminent-nation-87317/tanzu-cli/ci-images/mdlint:0.23.2 /md/lint \ + ghcr.io/vmware-tanzu/tanzu-cli/ci-images/mdlint:0.23.2 /md/lint \ -i docs/cli/commands \ -i **/CHANGELOG.md .