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

ci: update TinyGo to 0.32 (#447) #118

ci: update TinyGo to 0.32 (#447)

ci: update TinyGo to 0.32 (#447) #118

name: push-wasm-images
on:
push:
branches:
- main
env:
TINYGO_VERSION: 0.32.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.22'
- 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.GITHUB_TOKEN }}
- name: Build/Push Docker images
run: make wasm_image.build_push
- name: Build/Push OCI images
run: make wasm_image.build_push_oci