Skip to content

Commit

Permalink
Create docker-images.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rozachatz authored Sep 30, 2024
1 parent f16211f commit fce94b1
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/docker-images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Docker Image CI

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

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Build the Docker image for moneytransfer microservice
run: docker build ./moneytransfer --file Dockerfile --tag money-transfer-app:$(date +%s)

- name: Build Docker image for notifications microservice
run: docker build ./notifications --file Dockerfile --tag notifications-app:$(date +%s)

0 comments on commit fce94b1

Please sign in to comment.