Skip to content

Commit

Permalink
Actions: Added missing latest tag (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
pozgo committed May 7, 2020
1 parent 8dfa6c5 commit a1ba93a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@ jobs:
run: |
export RELEASE=$(grep "MKDOCS_VERSION=" Dockerfile | sed 's|^.*=||g' |awk '{print $1}' | sed 's|"||g')
docker build . --file Dockerfile --tag polinux/mkdocs:${RELEASE}
docker tag polinux/mkdocs:${RELEASE} polinux/mkdocs:latest
docker login -u ${{ secrets.DOCKER_HUB_USER }} -p ${{ secrets.DOCKER_HUB_PASS }}
docker push polinux/mkdocs:${RELEASE}
docker push polinux/mkdocs:${RELEASE}
docker push polinux/mkdocs:latest

0 comments on commit a1ba93a

Please sign in to comment.