Skip to content

readme update

readme update #7

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: publish
on:
push:
tags:
- "v*"
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup `rust`
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Setup `wasm`
run: rustup target add wasm32-wasi
- name: Setup `spin`
uses: fermyon/actions/spin/setup@v1
- name: Run `spin version`
run: "spin --version"
- name: build and push
id: push
uses: fermyon/actions/spin/push@v1
with:
registry: ghcr.io
registry_username: ${{ github.actor }}
registry_password: ${{ secrets.GITHUB_TOKEN }}
registry_reference: "ghcr.io/blazekill/Spin-O-Llama/api:latest"
- name: echo digest
run: echo ${{ steps.push.outputs.digest }}