diff options
author | Serghei Cebotari <serghei@cebotari.ru> | 2024-01-29 13:22:27 +0300 |
---|---|---|
committer | Serghei Cebotari <serghei@cebotari.ru> | 2024-01-29 13:22:27 +0300 |
commit | 70f2d92f1c55d325729834632622aef54d53e819 (patch) | |
tree | 91d65b3f48fe5a73dc5d39968e0c9cd4de0ea6ca | |
parent | e0b3237a591b6caec582f00c7b32261789eed429 (diff) |
Add database image build
-rw-r--r-- | .gitea/workflows/release.yaml (renamed from .gitea/workflows/test.yaml) | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/.gitea/workflows/test.yaml b/.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 |