~tyil/www-fglt.nl

63017e84552499b6e62722ee50b77327ed3b97ff — Patrick Spek 29 days ago 615d30a
Apply -t flag for additional tags
1 files changed, 3 insertions(+), 3 deletions(-)

M .gitlab-ci.yml
M .gitlab-ci.yml => .gitlab-ci.yml +3 -3
@@ 22,9 22,9 @@ quay.io:
  services:
    - docker:dind
  before_script:
    - echo "$QUAY_PASSWORD" | docker login -u $QUAY_USER --password-stdin https://quay.io
    - echo "$QUAY_PASSWORD" | docker login -u "$QUAY_USER" --password-stdin https://quay.io
  script:
    - docker build -t $QUAY_REPOSITORY:latest $QUAY_REPOSITORY:ci-$CI_COMMIT_SHA .
    - docker build -t $QUAY_REPOSITORY:latest -t $QUAY_REPOSITORY:ci-$CI_COMMIT_SHA .
    - docker push $QUAY_REPOSITORY:latest $QUAY_REPOSITORY:ci-$CI_COMMIT_SHA

registry.gitlab.com:


@@ 37,5 37,5 @@ registry.gitlab.com:
  before_script:
    - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
  script:
    - docker build -t $CI_REGISTRY_IMAGE:latest $CI_REGISTRY_IMAGE:ci-$CI_COMMIT_SHA .
    - docker build -t $CI_REGISTRY_IMAGE:latest -t $CI_REGISTRY_IMAGE:ci-$CI_COMMIT_SHA .
    - docker push $CI_REGISTRY_IMAGE:latest $CI_REGISTRY_IMAGE:ci-$CI_COMMIT_SHA