From 289179a60f2d43e5d52f7d5a2810eaaf4021313c Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Tue, 3 Dec 2024 15:25:30 +0100 Subject: [PATCH] readme: move login step up Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index efedf38..60f9882 100644 --- a/README.md +++ b/README.md @@ -48,15 +48,15 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - name: Login to DockerHub uses: docker/login-action@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} + username: ${{ vars.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 - name: Build and push uses: docker/bake-action@v5 @@ -83,15 +83,15 @@ jobs: bake: runs-on: ubuntu-latest steps: - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - name: Login to DockerHub uses: docker/login-action@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} + username: ${{ vars.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 - name: Build and push uses: docker/bake-action@v5