From 0d5886adc614fb79f4234a2d2c1078ecc573a362 Mon Sep 17 00:00:00 2001 From: Jay Date: Sat, 6 Jan 2024 01:13:14 -0500 Subject: [PATCH 1/2] Create docker-image.yml --- .github/workflows/docker-image.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/docker-image.yml diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml new file mode 100644 index 0000000..c1b60ed --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -0,0 +1,29 @@ +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) From 7a99690e369dbfc6b0b1301d461a6399ae36aa8b Mon Sep 17 00:00:00 2001 From: Jaydin_MacBook Date: Sat, 6 Jan 2024 01:22:00 -0500 Subject: [PATCH 2/2] Delete label.yml --- .github/workflows/label.yml | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 .github/workflows/label.yml diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml deleted file mode 100644 index 4613569..0000000 --- a/.github/workflows/label.yml +++ /dev/null @@ -1,22 +0,0 @@ -# This workflow will triage pull requests and apply a label based on the -# paths that are modified in the pull request. -# -# To use this workflow, you will need to set up a .github/labeler.yml -# file with configuration. For more information, see: -# https://github.com/actions/labeler - -name: Labeler -on: [pull_request_target] - -jobs: - label: - - runs-on: ubuntu-latest - permissions: - contents: read - pull-requests: write - - steps: - - uses: actions/labeler@v4 - with: - repo-token: "${{ secrets.GITHUB_TOKEN }}"