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