Skip to content

Commit 6066157

Browse files
author
Akash Satheesan
committed
chore(ci): rename build scripts and workflows
1 parent 94c80e4 commit 6066157

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/docker.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: docker
1+
name: Publish on Docker
22

33
on:
44
# Shows the manual trigger in GitHub UI
@@ -20,8 +20,8 @@ jobs:
2020
- name: Set up Docker Buildx
2121
uses: docker/setup-buildx-action@v1
2222

23-
- name: Run ./ci/steps/build-docker-image.sh
24-
run: ./ci/steps/build-docker-image.sh
23+
- name: Run ./ci/steps/docker-buildx-push.sh
24+
run: ./ci/steps/docker-buildx-push.sh
2525
env:
2626
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2727
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}

.github/workflows/publish.yaml renamed to .github/workflows/npm-brew.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: publish
1+
name: Publish on npm and brew
22

33
on:
44
# Shows the manual trigger in GitHub UI

ci/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ You can disable minification by setting `MINIFY=`.
7878

7979
This directory contains the release docker container image.
8080

81-
- [./ci/steps/build-docker-image.sh](./ci/steps/build-docker-image.sh)
82-
- Builds the release containers with tags `codercom/code-server-$ARCH:$VERSION` for amd64 and arm64 with `docker buildx`.
81+
- [./ci/steps/build-docker-buildx-push.sh](./ci/steps/docker-buildx-push.sh)
82+
- Builds the release containers with tags `codercom/code-server-$ARCH:$VERSION` for amd64 and arm64 with `docker buildx` and pushes them.
8383
- Assumes debian releases are ready in `./release-packages`.
8484

8585
## images
@@ -107,8 +107,8 @@ Helps avoid clobbering the CI configuration.
107107
release packages into `./release-packages`.
108108
- [./steps/publish-npm.sh](./steps/publish-npm.sh)
109109
- Grabs the `npm-package` release artifact for the current commit and publishes it on npm.
110-
- [./steps/build-docker-image.sh](./steps/build-docker-image.sh)
111-
- Builds the docker image and then saves it into `./release-images/code-server-$ARCH-$VERSION.tar`.
110+
- [./steps/docker-buildx-push.sh](./steps/docker-buildx-push.sh)
111+
- Builds the docker image and then pushes it.
112112
- [./steps/push-docker-manifest.sh](./steps/push-docker-manifest.sh)
113113
- Loads all images in `./release-images` and then builds and pushes a multi architecture
114114
docker manifest for the amd64 and arm64 images to `codercom/code-server:$VERSION` and
File renamed without changes.

0 commit comments

Comments
 (0)