Skip to content

Commit ea0861e

Browse files
Merge pull request #80 from MervinPraison/develop
Adding Docker Image
2 parents 877985f + ea1c611 commit ea0861e

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Publish Docker
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build-and-push:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v2
15+
16+
- name: Set up Docker Buildx
17+
uses: docker/setup-buildx-action@v1
18+
19+
- name: Log in to the GitHub Container Registry
20+
run: echo ${{ secrets.GH_TOKEN }} | docker login ghcr.io -u USERNAME --password-stdin
21+
22+
- name: Build and push Docker image
23+
uses: docker/build-push-action@v2
24+
with:
25+
context: .
26+
push: true
27+
tags: ghcr.io/MervinPraison/PraisonAI:latest

0 commit comments

Comments
 (0)