From 099c74b38e193cf0bda25c5fcd3890e8b0ee9fe3 Mon Sep 17 00:00:00 2001 From: Jason Petersen Date: Mon, 11 Nov 2024 14:10:45 -0700 Subject: [PATCH] Add Docker Hub login Increases rate limits. --- .github/workflows/builder-images.yml | 29 ++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/.github/workflows/builder-images.yml b/.github/workflows/builder-images.yml index 4a228156..78632b4a 100644 --- a/.github/workflows/builder-images.yml +++ b/.github/workflows/builder-images.yml @@ -16,6 +16,15 @@ on: - ".github/workflows/builder-images.yml" jobs: + login: + runs-on: ubuntu-latest + steps: + - + name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ vars.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} build_and_push_c_builders: name: Build and push C builder images runs-on: @@ -36,6 +45,11 @@ jobs: steps: - name: Check out the repo uses: actions/checkout@v4 + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Login to Quay.io @@ -69,6 +83,11 @@ jobs: steps: - name: Check out the repo uses: actions/checkout@v4 + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Login to Quay.io @@ -158,6 +177,11 @@ jobs: steps: - name: Check out the repo uses: actions/checkout@v4 + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Login to Quay.io @@ -234,6 +258,11 @@ jobs: steps: - name: Check out the repo uses: actions/checkout@v4 + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Login to Quay.io