Skip to content

Commit 289179a

Browse files
committed
readme: move login step up
Signed-off-by: CrazyMax <[email protected]>
1 parent 52e5f56 commit 289179a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ jobs:
4848
-
4949
name: Checkout
5050
uses: actions/checkout@v4
51-
-
52-
name: Set up Docker Buildx
53-
uses: docker/setup-buildx-action@v3
5451
-
5552
name: Login to DockerHub
5653
uses: docker/login-action@v3
5754
with:
58-
username: ${{ secrets.DOCKERHUB_USERNAME }}
55+
username: ${{ vars.DOCKERHUB_USERNAME }}
5956
password: ${{ secrets.DOCKERHUB_TOKEN }}
57+
-
58+
name: Set up Docker Buildx
59+
uses: docker/setup-buildx-action@v3
6060
-
6161
name: Build and push
6262
uses: docker/bake-action@v5
@@ -83,15 +83,15 @@ jobs:
8383
bake:
8484
runs-on: ubuntu-latest
8585
steps:
86-
-
87-
name: Set up Docker Buildx
88-
uses: docker/setup-buildx-action@v3
8986
-
9087
name: Login to DockerHub
9188
uses: docker/login-action@v3
9289
with:
93-
username: ${{ secrets.DOCKERHUB_USERNAME }}
90+
username: ${{ vars.DOCKERHUB_USERNAME }}
9491
password: ${{ secrets.DOCKERHUB_TOKEN }}
92+
-
93+
name: Set up Docker Buildx
94+
uses: docker/setup-buildx-action@v3
9595
-
9696
name: Build and push
9797
uses: docker/bake-action@v5

0 commit comments

Comments
 (0)