Skip to content

Commit cefc49a

Browse files
Login into Docker Hub prior to do anything else
… to try to prevent HTTP 429 Too Many Requests error in Github Actions
1 parent 4054841 commit cefc49a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/docker-build.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,16 +125,17 @@ jobs:
125125
- ruby: 2.4.1
126126
variant: "-alpine3.6"
127127
steps:
128-
-
129-
name: Set up Docker Buildx
130-
uses: docker/setup-buildx-action@v3
131128
-
132129
name: Login to Docker Hub
133130
uses: docker/login-action@v3
134131
with:
135132
username: ${{ secrets.DOCKERHUB_USERNAME }}
136133
password: ${{ secrets.DOCKERHUB_PASSWORD }}
137-
- uses: docker/build-push-action@v6
134+
-
135+
name: Set up Docker Buildx
136+
uses: docker/setup-buildx-action@v3
137+
- name: Build and push Docker images
138+
uses: docker/build-push-action@v6
138139
with:
139140
push: true
140141
build-args: |

0 commit comments

Comments
 (0)