Skip to content

v3.0.4 patch: fix innerHTML #13

v3.0.4 patch: fix innerHTML

v3.0.4 patch: fix innerHTML #13

name: Build and publish Docker image for Release
on:
# Trigger the workflow on push or pull request,
# for the develop branch and all new tags
push:
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Fetch Prune Unshallow Tags
run: git fetch --prune --unshallow --tags
- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
id: extract_branch
- name: Extract commit hash
shell: bash
run: echo "##[set-output name=hash;]$(git rev-parse --short ${GITHUB_SHA})"
id: extract_hash
- name: Extract latest tag
shell: bash
run: echo "RELEASE_VERSION="$(git describe --tags --abbrev=0 ${GITHUB_SHA}) >> $GITHUB_ENV
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
env:
GIT_BRANCH: ${{ steps.extract_branch.outputs.branch }}
GIT_REVISION: ${{ steps.extract_hash.outputs.hash }}
GIT_TAG: ${{ env.RELEASE_VERSION }}
with:
name: c2dhunilu/miller-v2
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
buildargs: GIT_BRANCH,GIT_REVISION,GIT_TAG
tags: "${{ env.RELEASE_VERSION }}"