Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

chore: simplify properties. (#404) #105

chore: simplify properties. (#404)

chore: simplify properties. (#404) #105

name: push-wasm-images
on:
push:
branches:
- main
env:
TINYGO_VERSION: 0.30.0
jobs:
build-and-push-wasm-images:
name: Build and push Wasm images
runs-on: ubuntu-latest
steps:
- name: install Go
uses: actions/setup-go@v3
with:
go-version: '1.19'
- name: Install TinyGo
run: |
wget https://github.com/tinygo-org/tinygo/releases/download/v${TINYGO_VERSION}/tinygo_${TINYGO_VERSION}_amd64.deb
sudo dpkg -i tinygo_${TINYGO_VERSION}_amd64.deb
- name: Checkout
uses: actions/checkout@v3
- name: Build examples
run: make build.examples
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_TOKEN }}
- name: Build/Push Docker images
run: make wasm_image.build_push
- name: Build/Push OCI images
run: make wasm_image.build_push_oci