From 9eac0937bbe669dd6745da771f8ed5c259aa1475 Mon Sep 17 00:00:00 2001 From: Musa Ahmed Date: Tue, 12 Nov 2024 13:50:35 -0500 Subject: [PATCH] Create docker-image.yml --- .github/workflows/docker-image.yml | 20 ++++++++++++++++++++ 1 file changed, 20 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..25985f5 --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -0,0 +1,20 @@ +name: Docker Image CI + +on: + release: + branches: [ "master" ] + +jobs: + + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Build the WardrobeManager Api Docker Image + run: docker build . --file docker/WardrobeManager.Api/Dockerfile --tag wardrobe-manager-api:$(date +%s) + + - name: Build WardrobeManager Presentation Docker Image + run: docker build . --file docker/WardrobeManager.Presentation/Dockerfile --tag wardrobe-manager-presentation:$(date +%s) +