Skip to content

Commit aa9a28a

Browse files
committed
Add Docker Hub login
1 parent f30202a commit aa9a28a

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,18 @@ jobs:
8080
- run: |
8181
mv dstack-sshproxy-* dstack-sshproxy
8282
working-directory: build
83+
- name: Login to Docker Hub
84+
uses: docker/login-action@v4
85+
with:
86+
username: ${{ secrets.DOCKERHUB_USERNAME }}
87+
password: ${{ secrets.DOCKERHUB_TOKEN }}
8388
- name: Set up Docker Buildx
8489
uses: docker/setup-buildx-action@v4
8590
- name: Build and push
8691
uses: docker/build-push-action@v7
8792
with:
8893
context: .
89-
push: false
94+
push: true
9095
tags: |
9196
dstackai/sshproxy:${{ needs.set-version.outputs.version }}
9297
${{ case(fromJSON(needs.set-version.outputs.latest), 'dstackai/sshproxy:latest', '') }}

0 commit comments

Comments
 (0)