Skip to content

setup_pygrb_minifollowups cleaner #6109

setup_pygrb_minifollowups cleaner

setup_pygrb_minifollowups cleaner #6109

Workflow file for this run

name: docker build
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-20.04
steps:
-
uses: actions/checkout@v1
-
name: "Set up Python"
uses: actions/setup-python@v4
with:
python-version: 3.9
-
name: "Preparing a host container"
run: "docker build -t pycbc-docker-tmp ."
-
name: "Installing PyCBC and dependencies"
run: "docker run --privileged --name pycbc_inst -v `pwd`:/scratch pycbc-docker-tmp /bin/bash -c /scratch/docker/etc/docker-install.sh"
-
env:
DOCKER_IMG: pycbc/pycbc-el8
name: "Running docker commit"
run: "bash -e docker/etc/docker_commit.sh"
-
env:
DOCKER_IMG: pycbc/pycbc-el8
DOCKER_PASSWORD: "${{secrets.DOCKERHUB_PASSWORD}}"
DOCKER_USERNAME: "${{secrets.DOCKERHUB_USERNAME}}"
name: "Pushing docker image"
run: "bash -e docker/etc/push_image.sh"