Skip to content

Merge pull request #23 from boettiger-lab/cboettig-patch-2 #69

Merge pull request #23 from boettiger-lab/cboettig-patch-2

Merge pull request #23 from boettiger-lab/cboettig-patch-2 #69

Workflow file for this run

name: Docker Image CI
on:
workflow_dispatch: null
push:
paths: ['.devcontainer/*']
branches: main
jobs:
build:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
if: github.repository == 'boettiger-lab/nasa-topst-env-justice'
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: Build the Docker image
if: github.repository == 'boettiger-lab/nasa-topst-env-justice'
run: docker build .devcontainer -f .devcontainer/jupyterhub.Dockerfile --tag ghcr.io/boettiger-lab/nasa-tops:latest
- name: Publish
if: github.repository == 'boettiger-lab/nasa-topst-env-justice'
run: docker push ghcr.io/boettiger-lab/nasa-tops:latest