From f2ab88cd916d17358fa521e1d4304efe07db1bed Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Sun, 31 Mar 2024 22:44:39 -0700 Subject: [PATCH] ci: hard-code the dockerhub username --- .github/workflows/CI.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 056846d6..a64bf967 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -249,7 +249,7 @@ jobs: uses: docker/login-action@v3 if: ${{ github.event_name != 'pull_request' }} with: - username: ${{ vars.DOCKERHUB_USERNAME }} + username: aminya password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push @@ -258,7 +258,7 @@ jobs: context: . file: ./dev/docker/ci/${{ matrix.container.file }} push: ${{ github.event_name != 'pull_request' }} - tags: ${{ vars.DOCKERHUB_USERNAME }}/${{ matrix.container.image }}:${{ matrix.container.tag }},${{ vars.DOCKERHUB_USERNAME }}/${{ matrix.container.image }}:latest + tags: aminya/${{ matrix.container.image }}:${{ matrix.container.tag }},aminya/${{ matrix.container.image }}:latest - name: Test uses: docker/build-push-action@v5 @@ -266,7 +266,7 @@ jobs: context: . file: ./dev/docker/examples/${{ matrix.container.file }} push: false - tags: ${{ vars.DOCKERHUB_USERNAME }}/test-${{ matrix.container.image }}:${{ matrix.container.tag }} + tags: aminya/test-${{ matrix.container.image }}:${{ matrix.container.tag }} Release: if: startsWith(github.ref, 'refs/tags/')