Merge pull request #50 from nsidc/open-with-context-manager #2
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: "Build & publish artifacts" | |
on: | |
push: | |
branches: | |
- "main" | |
- "v2" # TODO: Remove before merge! | |
tags: | |
- "v[0-9]+.[0-9]+.[0-9]+*" | |
concurrency: | |
group: "${{ github.workflow }}-${{ github.ref }}" | |
cancel-in-progress: true | |
env: | |
# Many color libraries just need this to be set to any value, but at least | |
# one distinguishes color depth, where "3" -> "256-bit color". | |
FORCE_COLOR: 3 | |
jobs: | |
build-and-publish-docker-image: | |
name: "Build and publish Docker image" | |
uses: "nsidc/.github/.github/workflows/build-and-publish-container-image.yml@main" | |
secrets: "inherit" |