Per #12, temporary change to the Dockerfile to pull compile_MET_all.s… #33
Workflow file for this run
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 Docker Images | |
on: | |
push: | |
tags: | |
- v* | |
env: | |
DOCKERHUB_BASE_REPO: dtcenter/met-base | |
DOCKERHUB_UNIT_TEST_REPO: dtcenter/met-base-unit-test | |
jobs: | |
handle_docker_images: | |
name: Handle Docker Images | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Get tag name | |
id: get_tag_name | |
uses: devops-actions/action-get-tag@v1.0.1 | |
with: | |
strip_v: false | |
default: v0.0.0 | |
- name: Build Docker Image | |
run: .github/jobs/build_docker_image.sh | |
env: | |
GITHUB_TAG: ${{ steps.get_tag_name.outputs.tag }} | |
- name: Push Docker Image | |
run: .github/jobs/push_docker_image.sh | |
env: | |
GITHUB_TAG: ${{ steps.get_tag_name.outputs.tag_name }} | |
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | |
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | |