Skip to content

Commit 85c4bac

Browse files
Merge pull request #655 from MervinPraison/develop
Update Claude Code action to enable package writing and add Docker im…
2 parents 0a48d78 + c3e8921 commit 85c4bac

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/claude.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
pull-requests: read
2424
issues: read
2525
id-token: write
26-
packages: read
26+
packages: write
2727
steps:
2828
- name: Checkout repository
2929
uses: actions/checkout@v4
@@ -40,6 +40,15 @@ jobs:
4040
username: ${{ github.actor }}
4141
password: ${{ secrets.GITHUB_TOKEN }}
4242

43+
- name: Build and push Docker image
44+
uses: docker/build-push-action@v5
45+
with:
46+
context: ./.github/actions/claude-code-action
47+
push: true
48+
tags: ghcr.io/mervinpraison/praisonai-claudecode:latest
49+
cache-from: type=gha
50+
cache-to: type=gha,mode=max
51+
4352
- name: Run Claude Code
4453
id: claude
4554
uses: ./.github/actions/claude-code-action

0 commit comments

Comments
 (0)