Skip to content

Commit

Permalink
chore: remove custom build from CI
Browse files Browse the repository at this point in the history
Signed-off-by: Sven Pfennig <[email protected]>
  • Loading branch information
0xE282B0 committed Nov 9, 2023
1 parent 6593861 commit 35704b3
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,22 @@ jobs:
# Setup docker build to use your Namespace workspace builder
name: Set up Namespace Buildx
uses: namespacelabs/nscloud-setup-buildx-action@v0
- name: Build runwasi as static muls for amd64 and arm64
run: |
git clone --branch main --depth 1 https://github.com/containerd/runwasi.git &&
cd runwasi &&
docker build --platform=linux/arm64,linux/amd64 --build-arg BASE_IMAGE=alpine --build-arg CRATE="containerd-shim-wasmtime,containerd-shim-wasmedge,containerd-shim-wasmer" -t nscr.io/a8fcp47vcfori/build-runwasi --push . &&
cd -
# TODO: make builds from latest main branch conditional
# - name: Build runwasi as static muls for amd64 and arm64
# run: |
# git clone --branch main --depth 1 https://github.com/containerd/runwasi.git &&
# cd runwasi &&
# docker build --platform=linux/arm64,linux/amd64 --build-arg BASE_IMAGE=alpine --build-arg CRATE="containerd-shim-wasmtime,containerd-shim-wasmedge,containerd-shim-wasmer" -t nscr.io/a8fcp47vcfori/build-runwasi --push . &&
# cd -
-
name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
build-args: |
CONTAINERD_RUNWASI=nscr.io/a8fcp47vcfori/build-runwasi
# build-args: |
# CONTAINERD_RUNWASI=nscr.io/a8fcp47vcfori/build-runwasi
tags: ${{ steps.meta.outputs.tags }}
file: images/installer/Dockerfile
labels: ${{ steps.meta.outputs.labels }}
Expand Down

0 comments on commit 35704b3

Please sign in to comment.