Skip to content

Commit 63f20eb

Browse files
committed
Login before setting up buildx driver
1 parent a29b5d4 commit 63f20eb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/mcp_images.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ jobs:
1212
with:
1313
repository: modelcontextprotocol/servers
1414
ref: ${{ github.event.client_payload.ref }}
15+
- name: Login to Docker Hub
16+
uses: docker/login-action@v3
17+
with:
18+
username: ${{ secrets.DOCKERPUBLICBOT_USERNAME }}
19+
password: ${{ secrets.DOCKERPUBLICBOT_WRITE_PAT }}
1520
- name: Set up Docker Buildx
1621
uses: docker/setup-buildx-action@v3
1722
with:
1823
driver: cloud
1924
endpoint: "mcp/cloud-ai-labs"
2025
install: true
21-
- name: Login to Docker Hub
22-
uses: docker/login-action@v3
23-
with:
24-
username: ${{ secrets.DOCKERPUBLICBOT_USERNAME }}
25-
password: ${{ secrets.DOCKERPUBLICBOT_WRITE_PAT }}
2626
- name: Build MCP Images
2727
run: |
2828
top_level_folder=$(pwd)

0 commit comments

Comments
 (0)