diff --git a/.github/workflows/build-pack.yml b/.github/workflows/build-pack.yml index 7673b5e..5480d33 100644 --- a/.github/workflows/build-pack.yml +++ b/.github/workflows/build-pack.yml @@ -120,14 +120,14 @@ jobs: # build cd ${{github.workspace}}/docker docker build -t "${{vars.DOCKER_IMAGE_NAME}}:${{env.GITCI_NEXT_VERSION_MAJOR}}.${{env.GITCI_NEXT_VERSION_MINOR}}.${{env.GITCI_NEXT_VERSION_PATCH}}" . - docker build -t "${{vars.DOCKER_IMAGE_NAME}}:${{env.GITCI_NEXT_VERSION_MAJOR}}.${{env.GITCI_NEXT_VERSION_MINOR}}.latest" . + docker build -t "${{vars.DOCKER_IMAGE_NAME}}:latest" . - name: Docker publish if: ${{ env.PUSH_DOCKER == 'true' }} run: | docker login -u ${{vars.DOCKER_USER_NAME}} -p ${{secrets.DOCKER_USER_AK}} docker push "${{vars.DOCKER_IMAGE_NAME}}:${{env.GITCI_NEXT_VERSION_MAJOR}}.${{env.GITCI_NEXT_VERSION_MINOR}}.${{env.GITCI_NEXT_VERSION_PATCH}}" - docker push "${{vars.DOCKER_IMAGE_NAME}}:${{env.GITCI_NEXT_VERSION_MAJOR}}.${{env.GITCI_NEXT_VERSION_MINOR}}.latest" + docker push "${{vars.DOCKER_IMAGE_NAME}}:latest" - name: Push dotnet package #if: steps.changes.outputs.src == 'true'