chore(deps-dev): bump webpack-dev-middleware from 3.7.2 to 5.3.4 #17
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: Docker | |
on: [push] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: build docker | |
run: | | |
export TAG=`git rev-parse --short=4 ${GITHUB_SHA}` | |
docker build . -t fossapps/feature.manager.ui:$TAG | |
- name: Push docker images | |
run: | | |
TAG=`git rev-parse --short=4 ${GITHUB_SHA}` | |
echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_LOGIN }}" --password-stdin | |
docker push fossapps/feature.manager.ui:$TAG | |
- name: Push Stable Image (Only master) | |
if: github.ref == 'refs/heads/master' | |
run: | | |
TAG=`git rev-parse --short=4 ${GITHUB_SHA}` | |
echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login --username "${{ secrets.DOCKERHUB_LOGIN }}" --password-stdin | |
docker tag fossapps/feature.manager.ui:$TAG fossapps/feature.manager.ui:stable | |
docker push fossapps/feature.manager.ui:stable |