Skip to content

Create a new tar_file.met-base-v3.2.tgz tar file for the dependent li… #46

Create a new tar_file.met-base-v3.2.tgz tar file for the dependent li…

Create a new tar_file.met-base-v3.2.tgz tar file for the dependent li… #46

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@v3
- name: Get tag name
id: get_tag_name
uses: devops-actions/[email protected]
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 }}