Skip to content

Commit

Permalink
fix: restore base_register_stage (#453)
Browse files Browse the repository at this point in the history
* fix: Add autodevops_register_stage

* Update README.md

Co-authored-by: Douglas Duteil <douglasduteil@gmail.com>
  • Loading branch information
gary-van-woerkens and douglasduteil authored Feb 8, 2021
1 parent e1bb21a commit fa74eb7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ include:
Register myapp image:
extends: .base_register_docker_stage
# or .base_register_stage
variables:
CONTEXT: . # The folder where the Dockerfile is
IMAGE_NAME: $CI_REGISTRY_IMAGE # The image name
Expand Down
3 changes: 3 additions & 0 deletions base_register_docker_stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,6 @@
$CONTEXT
- docker push ${IMAGE_NAME}:${CI_COMMIT_SHA}
- docker push ${IMAGE_NAME}:${TAG}

.base_register_stage:
extends: .base_register_docker_stage

0 comments on commit fa74eb7

Please sign in to comment.