Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions .github/workflows/agent-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,15 @@ name: Agent image

on:
push:
branches: [main]
paths: ["docker/agent/**", ".github/workflows/agent-image.yml"]
branches:
- main
paths:
- "docker/agent/**"
- ".github/workflows/agent-image.yml"
pull_request:
paths: ["docker/agent/**", ".github/workflows/agent-image.yml"]
paths:
- "docker/agent/**"
- ".github/workflows/agent-image.yml"
workflow_dispatch:

permissions:
Expand All @@ -21,15 +26,17 @@ jobs:
attestations: write
strategy:
matrix:
agent: [claude, codex]
agent:
- claude
- codex
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: docker/setup-qemu-action@99012661954931238ded8c8b007157a8430204e1 # v4.4.0
- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
- uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
if: github.event_name != 'pull_request'
if: ${{ github.event_name != 'pull_request' }}
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand All @@ -46,7 +53,7 @@ jobs:
ghcr.io/${{ github.repository }}-agent:${{ matrix.agent }}
ghcr.io/${{ github.repository }}-agent:${{ matrix.agent }}-${{ github.sha }}
- uses: actions/attest-build-provenance@4d101475d8b20a2381f78447822ac1eab6504dd8 # v4.2.2
if: github.event_name != 'pull_request'
if: ${{ github.event_name != 'pull_request' }}
with:
subject-name: ghcr.io/${{ github.repository }}-agent
subject-digest: ${{ steps.push.outputs.digest }}
Expand All @@ -56,7 +63,7 @@ jobs:
# through a reviewed pull request.
pin:
needs: image
if: github.event_name != 'pull_request'
if: ${{ github.event_name != 'pull_request' }}
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: CI

on:
push:
branches: [main]
branches:
- main
pull_request:

permissions:
Expand Down Expand Up @@ -56,7 +57,9 @@ jobs:
strategy:
fail-fast: false
matrix:
agent: [claude, codex]
agent:
- claude
- codex
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: Release

on:
push:
tags: ["v[0-9]+.[0-9]+.[0-9]+.[0-9]+"]
tags:
- "v[0-9]+.[0-9]+.[0-9]+.[0-9]+"

permissions:
contents: read
Expand Down
Loading