From 3e416cd253b6436e6bbf75a59837e613453cfdb3 Mon Sep 17 00:00:00 2001 From: Tao Feng Date: Thu, 18 Mar 2021 10:37:58 -0700 Subject: [PATCH] chore: update docker publisher new action (#956) Signed-off-by: feng-tao --- .github/workflows/publish_release.yml | 13 +++++++++++++ setup.py | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index f4c6e5a94..809ebddc0 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -41,3 +41,16 @@ jobs: with: user: __token__ password: ${{ secrets.pypi_password }} + build-and-publish-docker-image: + name: Build and publish docker image + runs-on: ubuntu-18.04 + steps: + - name: Checkout + uses: actions/checkout@v1 + - name: Login with docker + run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} + - name: Publish to Registry for latest + if: success() + run: make build-push-image-latest + - name: Publish to Registry for version + run: make build-push-image-version diff --git a/setup.py b/setup.py index c202ad0b7..6bf3f040f 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,7 @@ def build_js() -> None: with open(requirements_path) as requirements_file: requirements = requirements_file.readlines() -__version__ = '3.5.0' +__version__ = '3.5.1' oicd = ['flaskoidc==0.1.1'] pyarrrow = ['pyarrow==3.0.0']