-
Notifications
You must be signed in to change notification settings - Fork 7
29 lines (27 loc) · 1.02 KB
/
docker-build-dev.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
name: Docker build (dev)
on:
push:
jobs:
build:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4
- name: Build dev containers
run: docker-compose -f compose-dev.yml build cbioportal
- name: Build dev cbioproxy
run: docker-compose -f compose-dev.yml build cbioproxy
- name: Login to Docker registry
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push cbioportal
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
run: docker-compose -f compose-dev.yml push cbioportal
- name: Push cbioproxy
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
run: docker-compose -f compose-dev.yml push cbioproxy