Skip to content

Commit cbbcd36

Browse files
committed
Add Docker Hub login to avoid build failures due to image pull rate limit
1 parent 57bbb8b commit cbbcd36

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/release.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,14 @@ jobs:
7878
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
7979
sep-tags: ","
8080

81+
# Login to Docker Hub to avoid image pull ratelimit failures on build step
82+
# https://github.com/docker/login-action
83+
- name: Login to Docker Hub
84+
uses: docker/login-action@3d58c274f17dffee475a5520cbe67f0a882c4dbb # v2.1.0
85+
with:
86+
username: ${{ secrets.GHA_DOCKERHUB_PUSH_USER }}
87+
password: ${{ secrets.GHA_KONG_ORG_DOCKERHUB_PUSH_TOKEN }}
88+
8189
# Build Docker image with Buildx (don't push on PR)
8290
# https://github.com/docker/build-push-action
8391
- name: Build Docker image

0 commit comments

Comments
 (0)