Create tech stack docs (techstack.yml and techstack.md) #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: docker | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- 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 |