From de999bc39d21a1b857f76063e92f5a218feb0a40 Mon Sep 17 00:00:00 2001 From: classabbyamp <5366828+classabbyamp@users.noreply.github.com> Date: Tue, 6 Oct 2020 19:31:19 -0400 Subject: [PATCH] fix error in workflow (#273) --- .github/workflows/docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 43bba5e..0e6e40d 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -52,7 +52,7 @@ jobs: # tag dev or x.x.x docker tag $IMAGE_NAME $IMAGE_ID:$VERSION # tag latest if not a dev release - [[ "$VERSION" != "dev" ]] && docker tag $IMAGE_NAME $IMAGE_ID:latest + [[ "$VERSION" != "dev" ]] && docker tag $IMAGE_NAME $IMAGE_ID:latest || true - name: Push images to registry run: docker push ${{ steps.tag_image.outputs.image_id }}