Skip to content
This repository was archived by the owner on Jul 14, 2025. It is now read-only.

Commit 195589e

Browse files
committed
copy runtime and workload yamls into _dist
1 parent 376c05a commit 195589e

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/release.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ jobs:
4040
cp bin/containerd-shim-*-v1 _dist/
4141
cd _dist
4242
tar czf containerd-wasm-shims-v1-${{ env.RELEASE_VERSION }}-${{ env.RUNNER_OS }}-amd64.tar.gz containerd-shim-*-v1
43+
- name: copy release workload assets into _dist
44+
run: |
45+
cp ./deployments/workloads/spin/runtime.yaml _dist/spin_runtime.yaml
46+
cp ./deployments/workloads/spin/workload.yaml _dist/spin_workload.yaml
47+
cp ./deployments/workloads/slight/runtime.yaml _dist/slight_runtime.yaml
48+
cp ./deployments/workloads/slight/workload.yaml _dist/slight_workload.yaml
4349
- name: create release
4450
env:
4551
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -48,10 +54,10 @@ jobs:
4854
--generate-notes \
4955
-p \
5056
_dist/containerd-wasm-shims-v1-${{ env.RELEASE_VERSION }}-${{ env.RUNNER_OS }}-amd64.tar.gz#containerd-wasm-shims-v1 \
51-
./deployments/workloads/spin/runtime.yaml#example-spin-runtimes \
52-
./deployments/workloads/spin/workload.yaml#example-spin-workloads \
53-
./deployments/workloads/slight/runtime.yaml#example-slight-runtimes \
54-
./deployments/workloads/slight/workload.yaml#example-slight-workloads
57+
_dist/spin_runtime.yaml#example-spin-runtimes \
58+
_dist/spin_workload.yaml#example-spin-workloads \
59+
_dist/slight_runtime.yaml#example-slight-runtimes \
60+
_dist/slight_workload.yaml#example-slight-workloads
5561
- name: setup buildx
5662
uses: docker/setup-buildx-action@v2
5763
- name: login to GitHub container registry

0 commit comments

Comments
 (0)