From a17e9bd1ce6cdbeaf9825ce331e33321661ef56c Mon Sep 17 00:00:00 2001 From: Jan Cizmar Date: Sun, 6 Dec 2020 14:30:10 +0100 Subject: [PATCH] Push into prerelease creates tags docker image as latest --- .github/workflows/prerelease.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 95adc24b2b..4d3cdb6539 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -97,7 +97,10 @@ jobs: - name: Login to docker run: docker login -u ${{ secrets.dockerhubusername }} -p "${{ secrets.dockerhubpassword }}" - name: Tag the image - run: docker tag polygloat/polygloat polygloat/polygloat:${{ steps.version.outputs.VERSION }} + run: | + docker tag polygloat/polygloat polygloat/polygloat:${{ steps.version.outputs.VERSION }} + docker tag polygloat/polygloat polygloat/polygloat:latest + - name: Publish docker image run: docker push polygloat/polygloat:${{ steps.version.outputs.VERSION }}