Add docker login at start of every job to fix docker anonymous pull rate limit

This commit is contained in:
Deda 2024-03-20 09:18:54 +01:00
parent 097eceeffc
commit d73e0b02c3

View File

@ -38,6 +38,12 @@ jobs:
# branches and tags. (default: 1)
fetch-depth: 0
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Spin up mgbuild container
run: |
./release/package/mgbuild.sh \
@ -97,6 +103,12 @@ jobs:
# branches and tags. (default: 1)
fetch-depth: 0
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Spin up mgbuild container
run: |
./release/package/mgbuild.sh \
@ -217,6 +229,12 @@ jobs:
# branches and tags. (default: 1)
fetch-depth: 0
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Spin up mgbuild container
run: |
./release/package/mgbuild.sh \
@ -315,6 +333,12 @@ jobs:
# branches and tags. (default: 1)
fetch-depth: 0
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Spin up mgbuild container
run: |
./release/package/mgbuild.sh \
@ -488,6 +512,12 @@ jobs:
# branches and tags. (default: 1)
fetch-depth: 0
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Spin up mgbuild container
run: |
./release/package/mgbuild.sh \
@ -561,6 +591,12 @@ jobs:
# branches and tags. (default: 1)
fetch-depth: 0
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Spin up mgbuild container
run: |
./release/package/mgbuild.sh \