Commit b511369b authored by Remi Cresson's avatar Remi Cresson
Browse files

CI: build apache2 docker image

parent 2a987b5f
No related merge requests found
Pipeline #40327 failed with stage
in 42 seconds
Showing with 1 addition and 2 deletions
+1 -2
...@@ -18,6 +18,5 @@ docker_build: ...@@ -18,6 +18,5 @@ docker_build:
# https://docs.gitlab.com/ce/ci/variables/predefined_variables.html # https://docs.gitlab.com/ce/ci/variables/predefined_variables.html
- echo -n $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER --password-stdin $CI_REGISTRY - echo -n $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER --password-stdin $CI_REGISTRY
script: script:
- docker build --tag $IMG . - docker build --tag $CI_REGISTRY_IMAGE:latest .
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME
- docker push $CI_REGISTRY_IMAGE:latest - docker push $CI_REGISTRY_IMAGE:latest
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment