Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
Create build-docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Yalz authored Sep 13, 2023
1 parent 114ff3e commit 5e75b9a
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Docker Image CI

on:
workflow_dispatch:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
Front-End:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build ./vue-frontend --file Dockerfile --tag vsds-demonstrator-ui:$(date +%s)

Back-end:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build ./spring-boot-backend --file Dockerfile --tag vsds-demonstrator-server:$(date +%s)

0 comments on commit 5e75b9a

Please sign in to comment.