Skip to content

Merge pull request #22 from nsidc/migrate-to-gha #1

Merge pull request #22 from nsidc/migrate-to-gha

Merge pull request #22 from nsidc/migrate-to-gha #1

name: "Docker container image"
on:
push:
branches:
- "main"
tags:
- "v[0-9]+.[0-9]+.[0-9]+*"
jobs:
# When a push to the default branch occurs, build and release "latest" images
# When a tag `vX.Y.Z` push occurs, build and release images with that tag
build-and-release-image:

Check failure on line 15 in .github/workflows/container_image.yml

View workflow run for this annotation

GitHub Actions / Docker container image

Invalid workflow file

The workflow is not valid. .github/workflows/container_image.yml (Line: 15, Col: 3): The workflow must contain at least one job with no dependencies.
name: "Build and release the data server container image"
needs:
- "test"
uses: "nsidc/.github/.github/workflows/build-and-publish-container-image.yml@main"
secrets: "inherit"
# TODO: Decouple the two images
build-and-release-ingest-image:
name: "Build and release the ingest container image"
needs:
- "build-and-release-image"
uses: "nsidc/.github/.github/workflows/build-and-publish-container-image.yml@main"
secrets: "inherit"
with:
docker-file-name: "Dockerfile.ingest"