Skip to content

Created docker-image.yml #1

Created docker-image.yml

Created docker-image.yml #1

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: cd SOA/microservices && ls -la
- run: docker build -t serviceA:$(date +%s) . --file ServiceA.Dockerfile
- run: docker build -t serviceB:$(date +%s) . --file ServiceB.Dockerfile
- run: docker build -t serverApp:$(date +%s) . --file Server.Dockerfile
- run: echo "One last message"