From dbbaef8621e92f6e8c35122c8125e8c4086b1509 Mon Sep 17 00:00:00 2001 From: Mike Pieters Date: Thu, 1 Jul 2021 15:07:36 +0200 Subject: [PATCH] Update release.yaml --- .github/workflows/release.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d2f379c..bc4df93 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -30,4 +30,14 @@ jobs: uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 with: user: __token__ - password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file + password: ${{ secrets.PYPI_API_TOKEN }} + - name: Login to DockerHub + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Build and push Docker images + uses: docker/build-push-action@v2.5.0 + with: + push: True + tags: mrpowerus/bootstrapi:${{ github.event.release.tag_name }}