Skip to content

Bump to v0.12.3 - Update openworkers-runtime-v8 to v0.12.2 (TRACE logs) #203

Bump to v0.12.3 - Update openworkers-runtime-v8 to v0.12.2 (TRACE logs)

Bump to v0.12.3 - Update openworkers-runtime-v8 to v0.12.2 (TRACE logs) #203

Workflow file for this run

name: Docker
on:
push:
branches:
- main
- dev
tags:
- "v*.*.*"
pull_request:
branches:
- main
- dev
jobs:
build:
name: Build (${{ matrix.runtime }})
runs-on: ubuntu-24.04
strategy:
matrix:
runtime: [v8] # deno disabled (requires core 0.5, we're on 0.6)
steps:
- name: Check Out Repo
uses: actions/checkout@v4
- name: Docker metadata
id: metadata
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/${{ github.repository }}
tags: |
type=raw,value=${{ matrix.runtime }},enable={{is_default_branch}}
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/master' && matrix.runtime == 'v8' }}
type=ref,event=branch,suffix=-${{ matrix.runtime }}
type=ref,event=tag,suffix=-${{ matrix.runtime }}
- 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 server
id: docker_build
uses: docker/build-push-action@v5
with:
file: Dockerfile.multi
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.metadata.outputs.tags }}
build-args: |
RUNTIME=${{ matrix.runtime }}
cache-from: type=gha,scope=${{ matrix.runtime }}
cache-to: type=gha,mode=max,scope=${{ matrix.runtime }}
# TODO: re-enable linux/arm64 once openworkers-v8 provides prebuilt binaries for aarch64-unknown-linux-gnu
platforms: linux/amd64