Last active
March 23, 2023 23:30
-
-
Save JustinJohnWilliams/a6a500269a47d86d4d1061460e5ea684 to your computer and use it in GitHub Desktop.
gitlab pipeline
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
variables: | |
# When using dind, it's wise to use the overlayfs driver for improved performance. | |
DOCKER_DRIVER: overlay2 | |
REPOSITORY_NAME: $ORGANIZATION/$CI_PROJECT_NAME | |
ECR_PROJECT_PATH: $ECR_URL/$ORGANIZATION/$CI_PROJECT_NAME | |
COMPOSE_STORAGE_ON_S3: concord-ci-build | |
DEPLOY_FILE_STORAGE_ON_S3: concord-ci-deploy | |
build: | |
stage: build | |
script: | |
- {{ step1.sh }} | |
artifacts: | |
paths: | |
- ${CI_PROJECT_NAME}.tar | |
expire_in: 2 hours | |
only: | |
- merge_requests | |
upload-to-ecr-and-s3: | |
stage: upload-artifacts | |
script: | |
- {{ step2.sh }} | |
only: | |
- merge_requests | |
publish-deploy-file-from-tag: | |
stage: publish-on-tag | |
script: | |
- {{ step3.sh }} | |
only: | |
- tags |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment