Skip to content

Commit

Permalink
ci: rename Docker build steps
Browse files Browse the repository at this point in the history
  • Loading branch information
mu88 committed Aug 3, 2024
1 parent ae434fe commit a8db1d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI_CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a8db1d8

Please sign in to comment.