Archived
1
0

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:
Joe Previte 2022-04-14 17:02:03 -07:00 committed by GitHub
parent 09fc64a4f0
commit dea6a40ea8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 10 deletions

View File

@ -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 }}

View File

@ -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",