Files
OmniRoute/.github/workflows/build-fork.yml
backryun 725ec7f2a9 fix:Update Build env dependencys (#1646)
Integrated into release/v3.7.1 — CI dependency updates and Node 24.15.0 bump
2026-04-27 01:08:49 -03:00

42 lines
1004 B
YAML

name: Build Fork Image (ghcr.io)
on:
workflow_dispatch:
permissions:
contents: read
packages: write
jobs:
build:
name: Build and Push to ghcr.io
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
ref: fix/claude-thinking-mapping
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v7
with:
context: .
target: runner-base
platforms: linux/amd64
push: true
tags: |
ghcr.io/inkorcloud/omniroute:fix-claude-thinking-mapping
ghcr.io/inkorcloud/omniroute:latest
cache-from: type=gha
cache-to: type=gha,mode=max