We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 551fbbb commit ee5e630Copy full SHA for ee5e630
.github/workflows/publish_docker_image.yml
@@ -0,0 +1,30 @@
1
+name: Publish Docker Image
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ build-and-push:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - name: Checkout code
13
+ uses: actions/checkout@v3
14
15
+ - name: Set up Docker Buildx
16
+ uses: docker/setup-buildx-action@v3
17
18
+ - name: Log in to GHCR
19
+ uses: docker/login-action@v3
20
+ with:
21
+ registry: ghcr.io
22
+ username: ${{ github.actor }}
23
+ password: ${{ secrets.GHCR_PACKAGE_PAT }}
24
25
+ - name: Build and push Docker image
26
+ run: |
27
+ docker buildx build --platform linux/amd64,linux/arm64 \
28
+ --tag ghcr.io/camel-ai/camel:${{ github.ref_name }} \
29
+ --sbom=false --provenance=false \
30
+ --push .
0 commit comments