diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3440908..6a5ac1b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -92,15 +92,13 @@ Build: # notice the cache-from, which is going to use the image we just pulled locally # the built image is tagged locally with the commit SHA, and then pushed to # the GitLab registry - - > - docker build - --pull - --label "org.opencontainers.image.title=$CI_PROJECT_TITLE" - --label "org.opencontainers.image.url=$CI_PROJECT_URL" - --label "org.opencontainers.image.created=$CI_JOB_STARTED_AT" - --label "org.opencontainers.image.revision=$CI_COMMIT_SHA" - --label "org.opencontainers.image.version=$CI_COMMIT_REF_NAME" - --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA + - docker build \ + --label "org.opencontainers.image.title=$CI_PROJECT_TITLE" \ + --label "org.opencontainers.image.url=$CI_PROJECT_URL" \ + --label "org.opencontainers.image.created=$CI_JOB_STARTED_AT" \ + --label "org.opencontainers.image.revision=$CI_COMMIT_SHA" \ + --label "org.opencontainers.image.version=$CI_COMMIT_REF_NAME" \ + --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA \ . - docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA