Skip to content

Feat: Backend docker CI #4

Feat: Backend docker CI

Feat: Backend docker CI #4

name: Build Backend Docker Image
on: [push, pull_request]
jobs:
build-backend-docker:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build image
uses: docker/build-push-action@v2
with:
context: backend
file: backend/Dockerfile
push: false
tags: ${{ secrets.DOCKERHUB_USERNAME }}
# TODO: Deploy action on self-hosted VM
# TODO: Add secrets