-
-
Notifications
You must be signed in to change notification settings - Fork 28
27 lines (25 loc) · 898 Bytes
/
docker.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
name: docker
on:
push:
branches:
- 'main'
pull_request:
workflow_dispatch:
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build the CWLViewer Java Maven docker image
run: docker build -f Dockerfile -t commonworkflowlanguage/cwlviewer:latest .
- name: Confirm we can execute java in the container
run: docker run commonworkflowlanguage/cwlviewer:latest java -version
- name: Validate docker-compose
run: docker-compose -f docker-compose.yml config
- name: Create the docker-compose services
run: docker-compose -f docker-compose.yml up --no-start
- name: Start the docker-compose services
run: docker-compose -f docker-compose.yml start
- name: Stop the docker-compose services
run: docker-compose -f docker-compose.yml stop