Fixed Docker yml Deleted Label yml #7
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Image CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
backend-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout backend code | |
uses: actions/checkout@v3 | |
- name: Build the Docker image for backend | |
run: docker build ./backend -t backend-image-name:$(date +%s) | |
frontend-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout frontend code | |
uses: actions/checkout@v3 | |
- name: Build the Docker image for frontend | |
run: docker build ./frontend -t frontend-image-name:$(date +%s) |