Skip to content

fix(docs): require explicit repo arg for fork detection (#73) #57

fix(docs): require explicit repo arg for fork detection (#73)

fix(docs): require explicit repo arg for fork detection (#73) #57

Workflow file for this run

name: Build and Push
on:
workflow_dispatch:
push:
branches: [main]
paths-ignore:
- '*.md'
- 'docs/**'
- '!CLAUDE.md'
- 'LICENSE'
- '.github/**'
- '.claude/**'
- 'fly/**'
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: cd approval && bun install
- name: Run approval tests
run: cd approval && bun test
build:
needs: test
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ghcr.io/${{ github.repository }}:latest
build-args: CACHE_BUST=${{ github.run_id }}
cache-from: type=gha
cache-to: type=gha,mode=max