Skip to content

Commit 491b82b

Browse files
authored
Update ci.yml
1 parent 585b9b7 commit 491b82b

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- master
88

99
jobs:
10-
build:
10+
releaseGithub:
1111
if: github.event.pull_request.merged == true
1212
runs-on: ubuntu-22.04
1313
permissions:
@@ -66,3 +66,22 @@ jobs:
6666
with:
6767
body: ${{steps.github_release.outputs.changelog}}
6868
tag_name: ${{ steps.bump.outputs.new_tag }}
69+
releaseDocker:
70+
runs-on: ubuntu-latest
71+
needs: releaseGithub
72+
steps:
73+
- uses: actions/checkout@v4
74+
- name: install requirements
75+
run: pip install -r requirements.txt
76+
77+
- name: docker login
78+
uses: docker/login-action@v3
79+
with:
80+
username: 81318131
81+
password: ${{ secrets.DOCKER_PASSWORD }}
82+
83+
- name: build services
84+
run: docker compose build
85+
86+
- name: push images
87+
run: docker compose push

0 commit comments

Comments
 (0)