Skip to content

Commit dea6a40

Browse files
jsjoeiocode-asher
andauthored
chore: attempt to fix docker (#5106)
* chore: attempt to fix docker * Update .github/workflows/docker.yaml Co-authored-by: Asher <[email protected]> * chore: add publish:docker to scripts Co-authored-by: Asher <[email protected]>
1 parent 09fc64a commit dea6a40

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

.github/workflows/docker.yaml

+9-11
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,15 @@ jobs:
3939
id: version
4040
run: echo "::set-output name=version::$(jq -r .version package.json)"
4141

42-
- name: Download artifact
43-
uses: dawidd6/action-download-artifact@v2
44-
id: download
42+
- name: Download release artifacts
43+
uses: robinraju/[email protected]
4544
with:
46-
branch: v${{ steps.version.outputs.version }}
47-
workflow: ci.yaml
48-
workflow_conclusion: completed
49-
name: "release-packages"
50-
path: release-packages
51-
52-
- name: Run ./ci/steps/docker-buildx-push.sh
53-
run: ./ci/steps/docker-buildx-push.sh
45+
repository: "coder/code-server"
46+
tag: v${{ steps.version.outputs.version }}
47+
fileName: "*.deb"
48+
out-file-path: "release-packages"
49+
50+
- name: Publish to Docker
51+
run: yarn publish:docker
5452
env:
5553
GITHUB_TOKEN: ${{ github.token }}

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"package": "./ci/build/build-packages.sh",
2525
"postinstall": "./ci/dev/postinstall.sh",
2626
"publish:npm": "./ci/steps/publish-npm.sh",
27+
"publish:docker": "./ci/steps/docker-buildx-push.sh",
2728
"_audit": "./ci/dev/audit.sh",
2829
"fmt": "./ci/dev/fmt.sh",
2930
"lint": "./ci/dev/lint.sh",

0 commit comments

Comments
 (0)