Buil Docker Images at tag creation #56
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
#@see https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions | |
name: Buil Docker Images at tag creation | |
on: | |
create: | |
tags: | |
- 1.* | |
- 2.* | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: login | |
run: echo ${{ secrets.DOCKER_PASSWORD }} | docker login --username ${{ secrets.DOCKER_UID }} --password-stdin | |
- name: Build Env | |
run: bin/build-env ${GITHUB_REF#refs/*/} | |
- name: Debug Env | |
run: cat .env | |
- name: Build Images and Push | |
run: bin/build-images -f |