Commit 7e0f4839 by Jessica Hawkwell

Update .gitlab-ci.yml

1 parent 8579ad15
Pipeline #157 failed
in 28 seconds
Showing with 1 additions and 1 deletions
...@@ -8,7 +8,7 @@ services: ...@@ -8,7 +8,7 @@ services:
build: build:
stage: build stage: build
script: script:
- which apk - apk update && apk add curl
- export IMAGE_TAG=$(echo -en $CI_COMMIT_REF_NAME | tr -c '[:alnum:]_.-' '-') - export IMAGE_TAG=$(echo -en $CI_COMMIT_REF_NAME | tr -c '[:alnum:]_.-' '-')
- docker login -u "gitlab-ci-token" -p "$CI_JOB_TOKEN" $CI_REGISTRY - docker login -u "gitlab-ci-token" -p "$CI_JOB_TOKEN" $CI_REGISTRY
- docker build --pull -t "$CI_REGISTRY_IMAGE:$IMAGE_TAG" . - docker build --pull -t "$CI_REGISTRY_IMAGE:$IMAGE_TAG" .
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!