Skip to content

Commit

Permalink
Simplify CI
Browse files Browse the repository at this point in the history
Signed-off-by: Radu Matei <[email protected]>
  • Loading branch information
radu-matei committed Nov 12, 2023
1 parent 27ae6de commit dcbd8e1
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 33 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,10 @@ jobs:
arch: "aarch64"
}
shims:
- {
name: "slight",
version: "v1",
}
- {
name: "spin",
version: "v2",
}
- {
name: "wws",
version: "v1",
}
- {
name: "lunatic",
version: "v1",
}
env:
ARCH: ${{ matrix.config.arch }}
steps:
Expand Down
42 changes: 21 additions & 21 deletions .github/workflows/docker-build-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,24 @@ jobs:
strategy:
matrix:
image:
- imageName: examples/spin-rust-hello
context: images/spin
- imageName: examples/spin-dotnet-hello
context: images/spin_dotnet
- imageName: examples/slight-rust-hello
context: images/slight
- imageName: examples/wws-js-hello
context: images/wws
- imageName: examples/spin-inbound-redis
context: images/spin-inbound-redis
- imageName: examples/spin-outbound-redis
context: images/spin-outbound-redis
- imageName: examples/lunatic-rust-hello
context: images/lunatic
- imageName: examples/lunatic-spawn
context: images/lunatic-spawn
- imageName: examples/lunatic-submillisecond
context: images/lunatic-submillisecond
# - imageName: examples/spin-rust-hello
# context: images/spin
# - imageName: examples/spin-dotnet-hello
# context: images/spin_dotnet
# - imageName: examples/slight-rust-hello
# context: images/slight
# - imageName: examples/wws-js-hello
# context: images/wws
# - imageName: examples/spin-inbound-redis
# context: images/spin-inbound-redis
# - imageName: examples/spin-outbound-redis
# context: images/spin-outbound-redis
# - imageName: examples/lunatic-rust-hello
# context: images/lunatic
# - imageName: examples/lunatic-spawn
# context: images/lunatic-spawn
# - imageName: examples/lunatic-submillisecond
# context: images/lunatic-submillisecond
steps:
- uses: actions/checkout@v3
- name: Set RELEASE_VERSION ENV var
Expand Down Expand Up @@ -68,8 +68,8 @@ jobs:
with:
push: true
tags: |
ghcr.io/deislabs/containerd-wasm-shims/${{ matrix.image.imageName }}:${{ env.RELEASE_VERSION }}
ghcr.io/deislabs/containerd-wasm-shims/${{ matrix.image.imageName }}:latest
ghcr.io/radu-matei/containerd-wasm-shims/${{ matrix.image.imageName }}:${{ env.RELEASE_VERSION }}
ghcr.io/radu-matei/containerd-wasm-shims/${{ matrix.image.imageName }}:latest
context: ${{ matrix.image.context }}
platforms: wasi/wasm


0 comments on commit dcbd8e1

Please sign in to comment.