Skip to content

Commit 63a739b

Browse files
committed
Fix formatting
1 parent aa9a28a commit 63a739b

1 file changed

Lines changed: 36 additions & 36 deletions

File tree

.github/workflows/release.yml

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -54,44 +54,44 @@ jobs:
5454
needs: [set-version, lint, build]
5555
runs-on: ubuntu-latest
5656
steps:
57-
- uses: actions/download-artifact@v8
58-
with:
59-
name: dstack-sshproxy
60-
path: build
61-
- name: Publish GitHub release
62-
uses: softprops/action-gh-release@v2
63-
with:
64-
working_directory: build
65-
files: dstack-sshproxy-*
66-
tag_name: ${{ needs.set-version.outputs.version }}
67-
generate_release_notes: true
68-
prerelease: ${{ fromJSON(needs.set-version.outputs.prerelease) }}
69-
make_latest: ${{ fromJSON(needs.set-version.outputs.latest) }}
57+
- uses: actions/download-artifact@v8
58+
with:
59+
name: dstack-sshproxy
60+
path: build
61+
- name: Publish GitHub release
62+
uses: softprops/action-gh-release@v2
63+
with:
64+
working_directory: build
65+
files: dstack-sshproxy-*
66+
tag_name: ${{ needs.set-version.outputs.version }}
67+
generate_release_notes: true
68+
prerelease: ${{ fromJSON(needs.set-version.outputs.prerelease) }}
69+
make_latest: ${{ fromJSON(needs.set-version.outputs.latest) }}
7070

7171
docker:
7272
needs: [set-version, lint, build]
7373
runs-on: ubuntu-latest
7474
steps:
75-
- uses: actions/checkout@v6
76-
- uses: actions/download-artifact@v8
77-
with:
78-
name: dstack-sshproxy
79-
path: build
80-
- run: |
81-
mv dstack-sshproxy-* dstack-sshproxy
82-
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 }}
88-
- name: Set up Docker Buildx
89-
uses: docker/setup-buildx-action@v4
90-
- name: Build and push
91-
uses: docker/build-push-action@v7
92-
with:
93-
context: .
94-
push: true
95-
tags: |
96-
dstackai/sshproxy:${{ needs.set-version.outputs.version }}
97-
${{ case(fromJSON(needs.set-version.outputs.latest), 'dstackai/sshproxy:latest', '') }}
75+
- uses: actions/checkout@v6
76+
- uses: actions/download-artifact@v8
77+
with:
78+
name: dstack-sshproxy
79+
path: build
80+
- run: |
81+
mv dstack-sshproxy-* dstack-sshproxy
82+
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 }}
88+
- name: Set up Docker Buildx
89+
uses: docker/setup-buildx-action@v4
90+
- name: Build and push
91+
uses: docker/build-push-action@v7
92+
with:
93+
context: .
94+
push: true
95+
tags: |
96+
dstackai/sshproxy:${{ needs.set-version.outputs.version }}
97+
${{ case(fromJSON(needs.set-version.outputs.latest), 'dstackai/sshproxy:latest', '') }}

0 commit comments

Comments
 (0)