chore: attempt to fix docker (#5106)
* chore: attempt to fix docker * Update .github/workflows/docker.yaml Co-authored-by: Asher <ash@coder.com> * chore: add publish:docker to scripts Co-authored-by: Asher <ash@coder.com>
This commit is contained in:
parent
09fc64a4f0
commit
dea6a40ea8
18
.github/workflows/docker.yaml
vendored
18
.github/workflows/docker.yaml
vendored
@ -39,17 +39,15 @@ jobs:
|
|||||||
id: version
|
id: version
|
||||||
run: echo "::set-output name=version::$(jq -r .version package.json)"
|
run: echo "::set-output name=version::$(jq -r .version package.json)"
|
||||||
|
|
||||||
- name: Download artifact
|
- name: Download release artifacts
|
||||||
uses: dawidd6/action-download-artifact@v2
|
uses: robinraju/release-downloader@v1.3
|
||||||
id: download
|
|
||||||
with:
|
with:
|
||||||
branch: v${{ steps.version.outputs.version }}
|
repository: "coder/code-server"
|
||||||
workflow: ci.yaml
|
tag: v${{ steps.version.outputs.version }}
|
||||||
workflow_conclusion: completed
|
fileName: "*.deb"
|
||||||
name: "release-packages"
|
out-file-path: "release-packages"
|
||||||
path: release-packages
|
|
||||||
|
|
||||||
- name: Run ./ci/steps/docker-buildx-push.sh
|
- name: Publish to Docker
|
||||||
run: ./ci/steps/docker-buildx-push.sh
|
run: yarn publish:docker
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ github.token }}
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
"package": "./ci/build/build-packages.sh",
|
"package": "./ci/build/build-packages.sh",
|
||||||
"postinstall": "./ci/dev/postinstall.sh",
|
"postinstall": "./ci/dev/postinstall.sh",
|
||||||
"publish:npm": "./ci/steps/publish-npm.sh",
|
"publish:npm": "./ci/steps/publish-npm.sh",
|
||||||
|
"publish:docker": "./ci/steps/docker-buildx-push.sh",
|
||||||
"_audit": "./ci/dev/audit.sh",
|
"_audit": "./ci/dev/audit.sh",
|
||||||
"fmt": "./ci/dev/fmt.sh",
|
"fmt": "./ci/dev/fmt.sh",
|
||||||
"lint": "./ci/dev/lint.sh",
|
"lint": "./ci/dev/lint.sh",
|
||||||
|
Reference in New Issue
Block a user