-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (35 loc) · 1.11 KB
/
build_dockers.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python application
on:
push:
branches:
- '**'
pull_request:
branches: [ main ]
jobs:
docker:
runs-on: ubuntu-latest
timeout-minutes: 300
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v3
- uses: jpribyl/[email protected]
continue-on-error: true
- name: 'Docker Compose'
uses: isbang/[email protected]
with:
compose-file: "./docker-compose.yml"
up-flags: "--build --force-recreate"
- name: Save text_summary
if: success()
uses: ishworkh/docker-image-artifact-upload@v1
with:
image: "text_summary:latest"
retention_days: "30"
- name: Save sentiment score
if: success()
uses: ishworkh/docker-image-artifact-upload@v1
with:
image: "sentiment_score:latest"
retention_days: "30"