From 08e97929136c30fd4a194f213f1c5de0455b8c81 Mon Sep 17 00:00:00 2001 From: Ustimenko Sergey Date: Fri, 9 Feb 2024 20:57:47 +0200 Subject: [PATCH] Create docker-image.yml --- .github/workflows/docker-image.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 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..70b4061 --- /dev/null +++ b/.github/workflows/docker-image.yml @@ -0,0 +1,23 @@ +name: Docker Image CI + +on: + push: + branches: [ "dev" ] + pull_request: + branches: [ "dev" ] + +jobs: + + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build web image + run: docker build . --file TemporalAirlinesConcept.Web/Dockerfile --tag ghcr.io/Tech-Fabric/temporal-airlines-web:$(date +%s) + - name: Push image to registry + run: docker push ghcr.io/Tech-Fabric/temporal-airlines-web:$(date +%s) + + +