Merge pull request #37 from nsidc/dynamic-api-url #3
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: "Publish container image" | |
on: | |
push: | |
branches: | |
- "main" | |
tags: | |
- "v[0-9]+.[0-9]+.[0-9]+*" | |
jobs: | |
test: | |
uses: "./.github/workflows/test.yml" | |
# 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-publish-image: | |
name: "Build and publish container image" | |
needs: | |
- "test" | |
uses: "nsidc/.github/.github/workflows/build-and-publish-container-image.yml@main" | |
secrets: "inherit" |