From cf0d5dc470c581580dc017124f40caef845be0e8 Mon Sep 17 00:00:00 2001 From: Justus Schock <12886177+justusschock@users.noreply.github.com> Date: Sat, 2 May 2020 14:40:31 +0200 Subject: [PATCH] Docker release (#1613) * Update docker_builds.yml * Update docker_builds.yml * nightly Co-authored-by: Jirka Borovec --- .github/workflows/docker_builds.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker_builds.yml b/.github/workflows/docker_builds.yml index 1ac289ba..736ff724 100644 --- a/.github/workflows/docker_builds.yml +++ b/.github/workflows/docker_builds.yml @@ -22,7 +22,7 @@ jobs: - uses: actions/checkout@v2 - name: Publish Releases to Docker # only on releases - uses: elgohr/Publish-Docker-Github-Action@master + uses: elgohr/Publish-Docker-Github-Action@2.14 if: contains(github.ref, 'refs/tags/') && !contains(${{ steps.get_version.outputs.VERSION }}, 'rc') %% !contains(${{ steps.get_version.outputs.VERSION }}, 'dev') with: name: pytorchlightning/pytorch_lightning @@ -30,10 +30,10 @@ jobs: password: ${{ secrets.DOCKER_PASSWORD }} dockerfile: docker/Dockerfile buildargs: PYTHON_VERSION=${{ matrix.python_version }},PYTORCH_VERSION=${{ matrix.pytorch_version }},LIGHTNING_VERSION=${{ steps.get_version.outputs.VERSION }} - tags: "${{ steps.get_version.outputs.VERSION }}_py${{ matrix.python_version }}_torch${{ matrix.pytorch_version }},stable_py${{ matrix.python_version }}_torch${{ matrix.pytorch_version }}" + tags: "${{ steps.get_version.outputs.VERSION }}-py${{ matrix.python_version }}-torch${{ matrix.pytorch_version }},stable-py${{ matrix.python_version }}-torch${{ matrix.pytorch_version }}" - name: Publish Master # publish master - uses: elgohr/Publish-Docker-Github-Action@master + uses: elgohr/Publish-Docker-Github-Action@2.14 if: github.event_name == 'push' with: name: pytorchlightning/pytorch_lightning @@ -41,4 +41,4 @@ jobs: password: ${{ secrets.DOCKER_PASSWORD }} dockerfile: docker/Dockerfile buildargs: PYTHON_VERSION=${{ matrix.python_version }},PYTORCH_VERSION=${{ matrix.pytorch_version }},LIGHTNING_VERSION=${{ steps.get_version.outputs.VERSION }} - tags: "latest_py${{ matrix.python_version }}_torch${{ matrix.pytorch_version }}" + tags: "nightly-py${{ matrix.python_version }}-torch${{ matrix.pytorch_version }}"