Feature 27 new eckit atlas (#28) #48
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 | |
DOCKERHUB_METVIEWER_REPO: dtcenter/met-base-metviewer | |
jobs: | |
handle_docker_images: | |
name: Handle Docker Images | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Get tag name | |
id: get_tag_name | |
uses: devops-actions/action-get-tag@v1.0.2 | |
with: | |
strip_v: false | |
- 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 }} | |
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | |
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | |