We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75f17f5 commit c6375e7Copy full SHA for c6375e7
.gitlab-ci.yml
@@ -64,8 +64,10 @@ build:
64
DOCKER_TLS_CERTDIR: "/certs"
65
before_script:
66
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
67
+ - sed -i '/^CMD/d' Dockerfile
68
+ - sed -i '/^ENTRYPOINT/d' Dockerfile
69
script:
- - docker build --entrypoint "" --cmd "" -t $IMAGE_TAG .
70
+ - docker build -t $IMAGE_TAG .
71
- docker push $IMAGE_TAG
72
only:
73
- tags
0 commit comments