Skip to content

Release 0.1.0

Release 0.1.0 #6

Workflow file for this run

name: Build Image
permissions:
contents: read
packages: write
on:
push:
tags:
- v[0-9]+.*
env:
IMAGE_TAG: ${{ github.ref_name }}
IMAGE_NAME: ghcr.io/${{ github.repository }}
jobs:
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: taiki-e/create-gh-release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
build-image:
strategy:
fail-fast: false
matrix:
include:
- runtime: deno
- runtime: node
- runtime: bun
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile_${{ matrix.runtime }}
platforms: linux/amd64,linux/arm64
push: true
tags: |
${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}_${{ matrix.runtime }}
${{ env.IMAGE_NAME }}:${{ matrix.runtime }}