Skip to content

attempt #6

attempt #6 #6

Workflow file for this run

name: build_docker
on:
push:
branches:
- main
- dev
#pull_request:
# branches:
# - main
# - dev
workflow_call:
secrets:
DOCKERENV:
required: true
description: 'Access to AWS RDS server'
jobs:
build_docker:
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Docker Compose
run: |
sudo apt-get update
sudo apt-get install -y docker-compose
- name: Build and run Docker Compose
run: |
docker-compose -f docker-compose-calcium_imaging_worker.yaml -p sabatini-datajoint-pipeline_calcium_imaging_worker build --no-cache
docker-compose -f docker-compose-spike_sorting_local_worker.yaml -p sabatini-datajoint-pipeline_spike_sorting_local_worker build --no-cache
docker-compose -f docker-compose-standard_worker.yaml -p sabatini-datajoint-pipeline_standard build --no-cache
# Add additional steps here for testing or other actions
- name: Clean up Docker Compose
run: |
docker-compose -f docker-compose-calcium_imaging_worker.yaml -p sabatini-datajoint-pipeline_calcium_imaging_worker build down
docker-compose -f docker-compose-spike_sorting_local_worker.yaml -p sabatini-datajoint-pipeline_spike_sorting_local_worker down
docker-compose -f docker-compose-standard_worker.yaml -p sabatini-datajoint-pipeline_standard build down