Skip to content

Commit

Permalink
copy runtime and workload yamls into _dist
Browse files Browse the repository at this point in the history
  • Loading branch information
devigned committed Oct 6, 2022
1 parent 376c05a commit 195589e
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ jobs:
cp bin/containerd-shim-*-v1 _dist/
cd _dist
tar czf containerd-wasm-shims-v1-${{ env.RELEASE_VERSION }}-${{ env.RUNNER_OS }}-amd64.tar.gz containerd-shim-*-v1
- name: copy release workload assets into _dist
run: |
cp ./deployments/workloads/spin/runtime.yaml _dist/spin_runtime.yaml
cp ./deployments/workloads/spin/workload.yaml _dist/spin_workload.yaml
cp ./deployments/workloads/slight/runtime.yaml _dist/slight_runtime.yaml
cp ./deployments/workloads/slight/workload.yaml _dist/slight_workload.yaml
- name: create release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -48,10 +54,10 @@ jobs:
--generate-notes \
-p \
_dist/containerd-wasm-shims-v1-${{ env.RELEASE_VERSION }}-${{ env.RUNNER_OS }}-amd64.tar.gz#containerd-wasm-shims-v1 \
./deployments/workloads/spin/runtime.yaml#example-spin-runtimes \
./deployments/workloads/spin/workload.yaml#example-spin-workloads \
./deployments/workloads/slight/runtime.yaml#example-slight-runtimes \
./deployments/workloads/slight/workload.yaml#example-slight-workloads
_dist/spin_runtime.yaml#example-spin-runtimes \
_dist/spin_workload.yaml#example-spin-workloads \
_dist/slight_runtime.yaml#example-slight-runtimes \
_dist/slight_workload.yaml#example-slight-workloads
- name: setup buildx
uses: docker/setup-buildx-action@v2
- name: login to GitHub container registry
Expand Down

0 comments on commit 195589e

Please sign in to comment.