-
Notifications
You must be signed in to change notification settings - Fork 8
34 lines (33 loc) · 1.08 KB
/
docker_push.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
on: [push]
jobs:
bioexplorer_job:
runs-on: ubuntu-latest
name: BioExplorer
steps:
- uses: actions/checkout@v2
name: Check out code
- name: Login to DockerHub
uses: docker/[email protected]
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push Docker Back-end image
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{ secrets.DOCKERHUB_ORGANIZATION }}/bioexplorer:latest
- name: Build and push Docker Python SDK image
uses: docker/build-push-action@v2
with:
context: ./bioexplorer/pythonsdk
push: true
tags: ${{ secrets.DOCKERHUB_ORGANIZATION }}/bioexplorer-python-sdk:latest
- name: Build and push Docker User Interface
uses: docker/build-push-action@v2
with:
context: ./bioexplorer/ui
push: true
tags: ${{ secrets.DOCKERHUB_ORGANIZATION }}/bioexplorer-ui:latest
- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}