Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
eeholmes authored Apr 15, 2024
0 parents commit 284b8dd
Show file tree
Hide file tree
Showing 76 changed files with 2,403 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/docker-image-aomlomics-jh.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Docker Image CI AOML-omics
on:
workflow_dispatch: null
push:
branches: main
paths:
- 'images/aomlomics-jh/**'
- '.github/workflows/docker-image-aomlomics-jh.yml'
jobs:
build:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
if: github.repository == 'nmfs-opensci/container-images'
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: Build the Docker image
if: github.repository == 'nmfs-opensci/container-images'
run: |
docker build images/aomlomics-jh -f images/aomlomics-jh/Dockerfile --tag ghcr.io/nmfs-opensci/container-images/aomlomics-jh:latest
- name: Publish
if: github.repository == 'nmfs-opensci/container-images'
run: |
docker push ghcr.io/nmfs-opensci/container-images/aomlomics-jh:latest
29 changes: 29 additions & 0 deletions .github/workflows/docker-image-arcgis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Docker Image CI arcgis
on:
workflow_dispatch: null
push:
branches: main
paths:
- 'images/arcgis/**'
jobs:
build:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
if: github.repository == 'nmfs-opensci/container-images'
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: Build the Docker image
if: github.repository == 'nmfs-opensci/container-images'
run: |
docker build images/arcgis -f images/arcgis/Dockerfile --tag ghcr.io/nmfs-opensci/container-images/arcgis:latest
- name: Publish
if: github.repository == 'nmfs-opensci/container-images'
run: |
docker push ghcr.io/nmfs-opensci/container-images/arcgis:latest
37 changes: 37 additions & 0 deletions .github/workflows/docker-image-argis-pangeo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Docker Image CI argis pangeo
# To use this template, change the env variables
# IMAGE_NAME this should be the same name as the folder in which the Dockerfile is
# IMAGE_TAG whatever tag you want to automatically be used
env:
IMAGE_NAME: arcgis-pangeo
IMAGE_TAG: latest

on:
workflow_dispatch: null
push:
branches: main
paths:
- 'images/arcgis-pangeo/**'
- '.github/workflows/docker-image-arcgis-pangeo.yml'
jobs:
build:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
if: github.repository == 'nmfs-opensci/container-images'
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: Build the Docker image
if: github.repository == 'nmfs-opensci/container-images'
run: |
docker build images/$IMAGE_NAME -f images/$IMAGE_NAME/Dockerfile --tag ghcr.io/nmfs-opensci/container-images/$IMAGE_NAME:$IMAGE_TAG
- name: Publish
if: github.repository == 'nmfs-opensci/container-images'
run: |
docker push ghcr.io/nmfs-opensci/container-images/$IMAGE_NAME:$IMAGE_TAG
37 changes: 37 additions & 0 deletions .github/workflows/docker-image-cmip6-cookbook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Docker Image CI cmip6-cookbook
# To use this template, change the env variables
# IMAGE_NAME this should be the same name as the folder in which the Dockerfile is
# IMAGE_TAG whatever tag you want to automatically be used
env:
IMAGE_NAME: cmip6-cookbook
IMAGE_TAG: latest
on:
workflow_dispatch: null
push:
branches: main
paths:
- 'images/nmfs-opensci-python-base/**'
- 'images/cmip6-cookbook/**'
- '.github/workflows/docker-image-cmip6-cookbook.yml'
jobs:
build:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
if: github.repository == 'nmfs-opensci/container-images'
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: Build the Docker image
if: github.repository == 'nmfs-opensci/container-images'
run: |
docker build images/$IMAGE_NAME -f images/$IMAGE_NAME/Dockerfile --tag ghcr.io/nmfs-opensci/container-images/$IMAGE_NAME:$IMAGE_TAG
- name: Publish
if: github.repository == 'nmfs-opensci/container-images'
run: |
docker push ghcr.io/nmfs-opensci/container-images/$IMAGE_NAME:$IMAGE_TAG
30 changes: 30 additions & 0 deletions .github/workflows/docker-image-coastwatch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Docker Image CI coastwatch
on:
workflow_dispatch: null
push:
branches: main
paths:
- 'images/coastwatch/**'
- '.github/workflows/docker-image-coastwatch.yml'
jobs:
build:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
if: github.repository == 'nmfs-opensci/container-images'
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: Build the Docker image
if: github.repository == 'nmfs-opensci/container-images'
run: |
docker build images/coastwatch -f images/coastwatch/Dockerfile --tag ghcr.io/nmfs-opensci/container-images/coastwatch:latest
- name: Publish
if: github.repository == 'nmfs-opensci/container-images'
run: |
docker push ghcr.io/nmfs-opensci/container-images/coastwatch:latest
30 changes: 30 additions & 0 deletions .github/workflows/docker-image-coastwatch_branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Docker Image CI coastwatch
on:
workflow_dispatch: null
push:
branches: coastwatch
paths:
- 'images/coastwatch/**'
- '.github/workflows/docker-image-coastwatch_branch.yml'
jobs:
build:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
if: github.repository == 'nmfs-opensci/container-images'
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: Build the Docker image
if: github.repository == 'nmfs-opensci/container-images'
run: |
docker build images/coastwatch -f images/coastwatch/Dockerfile --tag ghcr.io/nmfs-opensci/container-images/coastwatch2:latest
- name: Publish
if: github.repository == 'nmfs-opensci/container-images'
run: |
docker push ghcr.io/nmfs-opensci/container-images/coastwatch2:latest
30 changes: 30 additions & 0 deletions .github/workflows/docker-image-coastwatch_patch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Docker Image CI coastwatch patch
on:
workflow_dispatch: null
push:
branches: coastwatch-patch
paths:
- 'images/coastwatch/**'
- '.github/workflows/docker-image-coastwatch_patch.yml'
jobs:
build:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
if: github.repository == 'nmfs-opensci/container-images'
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: Build the Docker image
if: github.repository == 'nmfs-opensci/container-images'
run: |
docker build images/coastwatch -f images/coastwatch/Dockerfile --tag ghcr.io/nmfs-opensci/container-images/coastwatch-patch:latest
- name: Publish
if: github.repository == 'nmfs-opensci/container-images'
run: |
docker push ghcr.io/nmfs-opensci/container-images/coastwatch-patch:latest
30 changes: 30 additions & 0 deletions .github/workflows/docker-image-echopype.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Docker Image CI echopype

on:
workflow_dispatch: null
push:
branches: main
paths:
- 'images/echopype/**'
- '.github/workflows/docker-image-echopype.yml'
jobs:
build:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
if: github.repository == 'nmfs-opensci/container-images'
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: Build the Docker image
if: github.repository == 'nmfs-opensci/container-images'
run: |
docker build images/echopype -f images/echopype/Dockerfile --tag ghcr.io/nmfs-opensci/container-images/echopype:latest
- name: Publish
if: github.repository == 'nmfs-opensci/container-images'
run: |
docker push ghcr.io/nmfs-opensci/container-images/echopype:latest
35 changes: 35 additions & 0 deletions .github/workflows/docker-image-jupyter-base-notebook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Docker Image CI base notebook
env:
IMAGE_NAME: jupyter-base-notebook
IMAGE_TAG: latest
IMAGE_BRANCH: main

on:
workflow_dispatch: null
push:
branches: main
paths:
- 'images/jupyter-base-notebook/**'
- '.github/workflows/docker-image-jupyter-base-notebook.yml'
jobs:
build:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
if: github.repository == 'nmfs-opensci/container-images'
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: Build the Docker image
if: github.repository == 'nmfs-opensci/container-images'
run: |
docker build images/$IMAGE_NAME -f images/$IMAGE_NAME/Dockerfile --tag ghcr.io/nmfs-opensci/container-images/$IMAGE_NAME:$IMAGE_TAG
- name: Publish
if: github.repository == 'nmfs-opensci/container-images'
run: |
docker push ghcr.io/nmfs-opensci/container-images/$IMAGE_NAME:$IMAGE_TAG
docker push ghcr.io/nmfs-opensci/$IMAGE_BRANCH/$IMAGE_NAME:$IMAGE_TAG
30 changes: 30 additions & 0 deletions .github/workflows/docker-image-jupyter-multiple-conda.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Docker Image CI jupyter-multiple-conda
on:
workflow_dispatch: null
push:
branches: main
paths:
- 'images/jupyter-multiple-conda/**'
- '.github/workflows/docker-image-jupyter-multiple-conda.yml'
jobs:
build:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
if: github.repository == 'nmfs-opensci/container-images'
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: Build the Docker image
if: github.repository == 'nmfs-opensci/container-images'
run: |
docker build images/jupyter-multiple-conda -f images/jupyter-multiple-conda/Dockerfile --tag ghcr.io/nmfs-opensci/container-images/jupyter-multiple-conda:latest
- name: Publish
if: github.repository == 'nmfs-opensci/container-images'
run: |
docker push ghcr.io/nmfs-opensci/container-images/jupyter-multiple-conda:latest
34 changes: 34 additions & 0 deletions .github/workflows/docker-image-nmfs-opensci-python-base.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Docker Image CI nmfs-opensci-python-base
env:
IMAGE_NAME: nmfs-opensci-python-base
IMAGE_TAG: latest
on:
workflow_dispatch: null
push:
branches: main
# main path plus the nmfs-opensci-python-base if that is used.
paths:
- 'images/nmfs-opensci-python-base/**'
- '.github/workflows/docker-image-nmfs-opensci-python-base.yml'
jobs:
build:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
if: github.repository == 'nmfs-opensci/container-images'
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: Build the Docker image
if: github.repository == 'nmfs-opensci/container-images'
run: |
docker build images/$IMAGE_NAME -f images/$IMAGE_NAME/Dockerfile --tag ghcr.io/nmfs-opensci/container-images/$IMAGE_NAME:$IMAGE_TAG
- name: Publish
if: github.repository == 'nmfs-opensci/container-images'
run: |
docker push ghcr.io/nmfs-opensci/container-images/$IMAGE_NAME:$IMAGE_TAG
34 changes: 34 additions & 0 deletions .github/workflows/docker-image-openscapes-rocker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Docker Image CI openscapes-rocker
env:
IMAGE_NAME: openscapes-rocker
IMAGE_TAG: latest

on:
workflow_dispatch: null
push:
branches: main
paths:
- 'images/openscapes-rocker/**'
- '.github/workflows/docker-image-openscapes-rocker.yml'
jobs:
build:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v3
- name: Login to GitHub Container Registry
if: github.repository == 'nmfs-opensci/container-images'
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: Build the Docker image
if: github.repository == 'nmfs-opensci/container-images'
run: |
docker build images/$IMAGE_NAME -f images/$IMAGE_NAME/Dockerfile --tag ghcr.io/nmfs-opensci/container-images/$IMAGE_NAME:$IMAGE_TAG
- name: Publish
if: github.repository == 'nmfs-opensci/container-images'
run: |
docker push ghcr.io/nmfs-opensci/container-images/$IMAGE_NAME:$IMAGE_TAG
Loading

0 comments on commit 284b8dd

Please sign in to comment.