Hotfix to the develop branch to add met_header_columns_V12.1.txt to d… #537
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 Image and Trigger METplus Workflow | |
on: | |
push: | |
branches: | |
- develop | |
- 'main_v[0-9]+.[0-9]+' | |
paths-ignore: | |
- 'docs/**' | |
workflow_dispatch: | |
env: | |
DOCKERHUB_REPO: dtcenter/met-dev | |
jobs: | |
build_met_docker: | |
name: Handle Docker Image | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Get branch name | |
id: get_branch_name | |
run: echo branch_name=${GITHUB_REF#refs/heads/} >> $GITHUB_OUTPUT | |
- name: Build Docker Image | |
run: .github/jobs/build_docker_image.sh | |
env: | |
SOURCE_BRANCH: ${{ steps.get_branch_name.outputs.branch_name }}-lite | |
MET_BASE_REPO: met-base | |
MET_BASE_TAG: v3.3 | |
- name: Push Docker Image | |
run: .github/jobs/push_docker_image.sh | |
env: | |
SOURCE_BRANCH: ${{ steps.get_branch_name.outputs.branch_name }}-lite | |
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | |
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} | |
trigger_metplus: | |
name: Trigger METplus testing workflow | |
runs-on: ubuntu-latest | |
needs: build_met_docker | |
steps: | |
- uses: dtcenter/metplus-action-trigger-use-cases@v1 | |
with: | |
token: ${{ secrets.METPLUS_BOT_TOKEN }} |