Skip to content

Commit afa98f0

Browse files
committed
Login before pushing
Signed-off-by: David Gageot <[email protected]>
1 parent 7ed2b0d commit afa98f0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,12 @@ jobs:
3232
- name: Build
3333
run: make docker-mcp-cross
3434

35+
- name: Hub login
36+
if: github.event_name != 'pull_request'
37+
uses: docker/loginaction@v3
38+
with:
39+
username: ${{ vars.DOCKERPUBLICBOT_USERNAME }}
40+
password: ${{ secrets.DOCKERPUBLICBOT_WRITE_PAT }}
41+
3542
- name: Push Gateway image
3643
run: make push-mcp-gateway

0 commit comments

Comments
 (0)