From c4947f8c3aa17a6586665aea51605e87cd27e87c Mon Sep 17 00:00:00 2001 From: RaviAnand Mohabir Date: Sat, 15 Apr 2023 13:49:44 +0200 Subject: [PATCH] fix: :green_heart: push to latest in main pipeline --- .github/workflows/main.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 184867f..3b77acb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -42,15 +42,20 @@ jobs: with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - name: Lowercase package - id: tags + id: tags1 uses: ASzc/change-string-case-action@v1 with: string: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.changelog.outputs.tag }} + - name: Lowercase package + id: tags2 + uses: ASzc/change-string-case-action@v1 + with: + string: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest - name: Build and push Docker image uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc if: ${{ steps.changelog.outputs.skipped == 'false' }} with: context: . push: true - tags: ${{ steps.tags.outputs.lowercase }} + tags: ${{ steps.tags1.outputs.lowercase }},${{ steps.tags2.outputs.lowercase }} labels: ${{ steps.meta.outputs.labels }}