mirror of https://github.com/kortix-ai/suna.git
Update Docker build workflow to enhance image build and push steps
This commit is contained in:
parent
c07d980f0c
commit
0106388297
|
@ -15,6 +15,9 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Log in to GitHub Container Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
|
@ -29,6 +32,8 @@ jobs:
|
|||
file: ./backend/Dockerfile
|
||||
push: true
|
||||
tags: ghcr.io/${{ github.repository }}/suna-backend:latest
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
||||
- name: Build and push Frontend image
|
||||
uses: docker/build-push-action@v5
|
||||
|
@ -36,4 +41,6 @@ jobs:
|
|||
context: ./frontend
|
||||
file: ./frontend/Dockerfile
|
||||
push: true
|
||||
tags: ghcr.io/${{ github.repository }}/suna-frontend:latest
|
||||
tags: ghcr.io/${{ github.repository }}/suna-frontend:latest
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
Loading…
Reference in New Issue