Skip to content

Merge pull request #14 from dtcenter/feature_12_debian #39

Merge pull request #14 from dtcenter/feature_12_debian

Merge pull request #14 from dtcenter/feature_12_debian #39

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/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 }}