Skip to content

Commit d8a9b6f

Browse files
committed
feat: simplify Docker build and release conditions in CI/CD pipeline
1 parent 0f349e0 commit d8a9b6f

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

.github/workflows/ci-cd.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,8 @@ jobs:
3737
DOCKER_PATH_CONTEXT: .
3838
DOCKER_BUILD_DOCKERFILE: ./Dockerfile
3939
DOCKER_TAGS: ${{ vars.DOCKER_USERNAME }}/${{ vars.DOCKER_REPOSITORY }}:${{ github.sha }}
40-
DOCKER_LOAD_BOOL: false
41-
DOCKER_PUSH_BOOL: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') }}
4240
DOCKER_USERNAME: ${{ vars.DOCKER_USERNAME }}
4341
secrets: inherit
44-
4542
release:
4643
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
4744
needs: [test, docker-build-and-image-scan]

0 commit comments

Comments
 (0)