Skip to content

Commit

Permalink
Workflow bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vincue committed Oct 11, 2021
1 parent 62a1dd0 commit 1d807eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy_to_docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ jobs:
docker login -u vincue -p ${{ secrets.DOCKER_TOKEN }}
echo ${{ github.event_name }}
TAGNAME=latest
echo $TAGNAME
export TAGNAME=latest
if [[ ${{ github.event_name == 'workflow_dispatch' }} ]]; then TAGNAME=${{ github.event.inputs.tagName }}; fi
docker build -t $REGISTRY/$REPOSITORY:$IMAGE_TAG -t $REGISTRY/$REPOSITORY:$TAGNAME .
docker push $REGISTRY/$REPOSITORY
Expand Down

0 comments on commit 1d807eb

Please sign in to comment.