Add database image build
This commit is contained in:
parent
e0b3237a59
commit
70f2d92f1c
@ -1,4 +1,4 @@
|
|||||||
name: Test API
|
name: Test and release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@ -33,10 +33,17 @@ jobs:
|
|||||||
registry: gitea.cebotari.ru
|
registry: gitea.cebotari.ru
|
||||||
username: chebser
|
username: chebser
|
||||||
password: ${{ secrets.DOCKER_TOKEN }}
|
password: ${{ secrets.DOCKER_TOKEN }}
|
||||||
- name: Build and push
|
- name: Build app
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
push: true
|
push: true
|
||||||
tags: gitea.cebotari.ru/chebser/rhsolutions-api:latest
|
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
|
Loading…
Reference in New Issue
Block a user