From 8fc5db4fbf56472cd01c20744cca6fcae2cd8671 Mon Sep 17 00:00:00 2001 From: Paramtamtam Date: Thu, 18 Jun 2020 23:51:08 +0500 Subject: [PATCH] Release CI updated --- .github/workflows/release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cff6b14..376eed1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -72,7 +72,10 @@ jobs: run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_LOGIN }}" --password-stdin &> /dev/null - name: Build image - run: docker build --build-arg "APP_VERSION=${APP_VERSION}" --tag "tarampampam/tinifier:${IMAGE_TAG}" -f ./Dockerfile . + run: docker build --build-arg "APP_VERSION=${APP_VERSION}" --tag "tarampampam/tinifier:${IMAGE_TAG}" --tag "tarampampam/tinifier:latest" -f ./Dockerfile . - - name: Push image + - name: Push version image run: docker push "tarampampam/tinifier:${IMAGE_TAG}" + + - name: Push latest image + run: docker push "tarampampam/tinifier:latest"