Commit 0ff8bb81 authored by Bruce Flynn's avatar Bruce Flynn

fix ci project name issue

parent d5d51a42
Pipeline #2986 passed with stages
in 2 minutes and 4 seconds
...@@ -12,7 +12,6 @@ build: ...@@ -12,7 +12,6 @@ build:
script: script:
- docker login -u brucef -p "${PULL_TOKEN}" gitlab.ssec.wisc.edu:5555 - docker login -u brucef -p "${PULL_TOKEN}" gitlab.ssec.wisc.edu:5555
- ${DKR} build app - ${DKR} build app
- docker tag amrcaws_app ${CI_PROJECT_NAME}
test: test:
stage: test stage: test
...@@ -30,7 +29,7 @@ push_prod: ...@@ -30,7 +29,7 @@ push_prod:
- /^[0-9]+\.[0-9]+\.[0-9]+$/ - /^[0-9]+\.[0-9]+\.[0-9]+$/
script: script:
- docker login -u gitlab-ci-token -p ${CI_BUILD_TOKEN} ${CI_REGISTRY} - docker login -u gitlab-ci-token -p ${CI_BUILD_TOKEN} ${CI_REGISTRY}
- docker tag ${CI_PROJECT_NAME} ${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG} - docker tag amrcaws_app ${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG}
- docker push ${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG} - docker push ${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG}
- docker tag ${CI_PROJECT_NAME} ${CI_REGISTRY_IMAGE}:latest - docker tag amrcaws_app ${CI_REGISTRY_IMAGE}:latest
- docker push ${CI_REGISTRY_IMAGE}:latest - docker push ${CI_REGISTRY_IMAGE}:latest
Markdown is supported
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