Skip to content

Commit

Permalink
✅ Docker build on backend changes
Browse files Browse the repository at this point in the history
Docker build on backend changes
  • Loading branch information
rflihxyz committed Dec 5, 2023
1 parent dfab062 commit 61366b1
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Docker Build - Backend

on:
push:
paths:
- 'packages/api/**' # Specify the path to your subfolder
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Docker
uses: docker/setup-docker@v2
with:
dockerfile: packages/api/Dockerfile # Specify the path to your Dockerfile

- name: Build Docker image
run: docker build -t panora-backend-api:latest packages/api/

0 comments on commit 61366b1

Please sign in to comment.