Skip to content

Only build images on push #4

Only build images on push

Only build images on push #4

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "main" ]
jobs:
build-server:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build the server image
run: cd service && docker build . --file Dockerfile --tag p2piano-server:latest
build-client:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build the server image
run: cd client && docker build . --file Dockerfile --tag p2piano-client:latest