From 70f2d92f1c55d325729834632622aef54d53e819 Mon Sep 17 00:00:00 2001 From: Serghei Cebotari Date: Mon, 29 Jan 2024 13:22:27 +0300 Subject: [PATCH] Add database image build --- .gitea/workflows/{test.yaml => release.yaml} | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) rename .gitea/workflows/{test.yaml => release.yaml} (77%) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/release.yaml similarity index 77% rename from .gitea/workflows/test.yaml rename to .gitea/workflows/release.yaml index bfe15ed..d8d7e36 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/release.yaml @@ -1,4 +1,4 @@ -name: Test API +name: Test and release on: push: @@ -33,10 +33,17 @@ jobs: registry: gitea.cebotari.ru username: chebser password: ${{ secrets.DOCKER_TOKEN }} - - name: Build and push + - name: Build app uses: docker/build-push-action@v5 with: context: . file: ./Dockerfile push: true - tags: gitea.cebotari.ru/chebser/rhsolutions-api:latest \ No newline at end of file + tags: gitea.cebotari.ru/chebser/rhsolutions-api:latest + - name: Build database + uses: docker/build-push-action@v5 + with: + context: . + file: Database/Dockerfile + push: true + tags: gitea.cebotari.ru/chebser/rhsolutions-db:latest \ No newline at end of file