From a8db1d8e62e5a5957b63d6efa908c55b5e4babe2 Mon Sep 17 00:00:00 2001 From: mu88 <4560672+mu88@users.noreply.github.com> Date: Sat, 3 Aug 2024 10:37:19 +0200 Subject: [PATCH] ci: rename Docker build steps --- .github/workflows/CI_CD.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI_CD.yml b/.github/workflows/CI_CD.yml index 4a55edd..61aba29 100644 --- a/.github/workflows/CI_CD.yml +++ b/.github/workflows/CI_CD.yml @@ -56,11 +56,11 @@ jobs: registry: registry.hub.docker.com username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Build Docker + - name: Build and push Docker non-release if: ${{ env.IS_RELEASE != 'true' }} run: | dotnet publish src/ScreenshotCreator.Api/ScreenshotCreator.Api.csproj /t:MultiArchPublish '-p:ContainerImageTags="dev"' -p:ContainerRegistry=registry.hub.docker.com - - name: Push Docker + - name: Build and push Docker release if: ${{ env.IS_RELEASE == 'true' }} run: | dotnet publish src/ScreenshotCreator.Api/ScreenshotCreator.Api.csproj /t:MultiArchPublish '-p:ContainerImageTags="${{ env.VERSION }};latest"' -p:ContainerRegistry=registry.hub.docker.com \ No newline at end of file