Simple concourse pipeline that will build and push a basic nginx docker container to a docker registry
This repo assumes you have the following configured and have the ability to access them.
- docker registry (artifactory, registry, ECR etc.)
- concourse server
- fly cli
- NOTE THIS CONFIGURATION IS NOT SUITABLE FOR PRODUCTION
Set up target in concourse:
fly --target concourse-nginx login --concourse-url http://<CONCOURSE_URL> -u <CONCOURSE_USERNAME> -p <CONCOURSE_PASSWORD>
Deploy the pipeline to concourse:
fly -t concourse-nginx set-pipeline -p build-and-push-nginx \
-c pipeline.yml \
--var registry-username=<REGISTRY_USERNAME> \
--var registry-password=<REGISTRY_PASSWORD> \
--var repository-name=<REPOSITORY_NAME>