Skip to content

Commit e617f33

Browse files
committed
do not build base
1 parent 6c8c282 commit e617f33

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,6 @@ jobs:
712712
713713
# create an empty build context directory
714714
mkdir -p build-context
715-
mkdir -p base-build-context
716715
717716
# copy the build artifacts to the build context
718717
cp build/coder_linux_* build-context/
@@ -725,17 +724,6 @@ jobs:
725724
- name: Set up Depot
726725
uses: depot/setup-action@v1
727726

728-
- name: Build multi arch base image
729-
uses: depot/build-push-action@v1
730-
with:
731-
project: 9rcqzb56rm
732-
context: ./base-build-context
733-
platforms: linux/amd64,linux/arm64,linux/arm/v7
734-
tags: ${{ steps.build.outputs.base_tag }}
735-
file: ./scripts/Dockerfile.base
736-
push: false
737-
save: true
738-
739727
- name: Build and push multi arch image
740728
uses: depot/build-push-action@v1
741729
with:
@@ -749,7 +737,7 @@ jobs:
749737
ghcr.io/coder/coder-preview:main
750738
ghcr.io/coder/coder-preview:latest
751739
build-args: |
752-
BASE_IMAGE=${{ steps.build.outputs.base_tag }}
740+
BASE_IMAGE=ghcr.io/coder/coder-base
753741
CODER_VERSION=${{ steps.build.outputs.version }}
754742
755743
- name: Prune old images

0 commit comments

Comments
 (0)