Add selections for detector and global plots. #33
Workflow file for this run
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: pipetask-plot-navigator | |
on: | |
push: | |
tags: | |
- "*" | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
if: > | |
startsWith(github.ref, 'refs/tags/') | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Get tag name | |
run: echo "IMG_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV | |
- | |
name: Set up QEMU | |
uses: docker/setup-qemu-action@v1 | |
- | |
name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v1 | |
- | |
name: Cache Docker layers | |
uses: actions/cache@v2 | |
with: | |
path: /tmp/.buildx-cache | |
key: ${{ runner.os }}-buildx-${{ github.sha }} | |
restore-keys: | | |
${{ runner.os }}-buildx- | |
- | |
name: Log in to GitHub Container Registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- | |
name: Build and push | |
id: docker_build | |
uses: docker/build-push-action@v4 | |
with: | |
context: src | |
push: true | |
tags: ghcr.io/lsst-dm/pipetask-plot-navigator:${{ env.IMG_TAG }} | |
cache-from: type=gha | |
cache-to: type=gha,mode=max | |
- | |
name: Image digest | |
run: echo ${{ steps.docker_build.outputs.digest }} |