mirror of
https://github.com/coder/code-server.git
synced 2024-12-02 08:03:37 +03:00
607444c695
We only want to use an old version for glibc which the centos:7 image takes care of. The old version of git used in debian:8 was causing problems with the uid/gid passthrough with no user in passwd.
32 lines
802 B
YAML
32 lines
802 B
YAML
name: publish
|
|
|
|
on:
|
|
release:
|
|
types: [published]
|
|
|
|
jobs:
|
|
npm:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Run ./ci/steps/publish-npm.sh
|
|
uses: ./ci/images/debian10
|
|
with:
|
|
args: ./ci/steps/publish-npm.sh
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
|
|
docker:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Run ./ci/steps/push-docker-manifest.sh
|
|
uses: ./ci/images/debian10
|
|
with:
|
|
args: ./ci/steps/push-docker-manifest.sh
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
|
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
|