Skip to content

check spin version

check spin version #6

Workflow file for this run

name: Release Artifacts for AI examples
on:
push:
branches: [oci-push]
workflow_dispatch: {}
env:
REGISTRY: ghcr.io
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 19
- name: setup spin
uses: fermyon/actions/spin/setup@v1
with:
version: v2.0.0
plugins: js2wasm
github_token: ${{ github.token }}
- name: npm install
working-directory: newsfeeder-ts
run: npm install
- name: check spin version
working-directory: newsfeeder-ts
run: spin --version
- name: build and push
uses: fermyon/actions/spin/push@v1
with:
registry: ${{ env.REGISTRY }}
registry_username: ${{ github.actor }}
registry_password: ${{ secrets.GITHUB_TOKEN }}
registry_reference: "${{ env.REGISTRY }}/fermyon/newsfeeder-ts:test1"
manifest_file: newsfeeder-ts/spin.toml