Skip to content

Commit

Permalink
did it right the first time
Browse files Browse the repository at this point in the history
  • Loading branch information
drewbo committed May 10, 2024
1 parent 4cb6f9c commit 11cb48c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ci/partials/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
platform: linux
inputs:
- name: src
- name: image-repository-((deploy-env))
- name: image-repository
run:
dir: src
path: ci/tasks/deploy.sh
6 changes: 3 additions & 3 deletions ci/pipeline-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
image: oci-build-task
file: src/ci/partials/build.yml

- put: image-repository-((deploy-env))
- put: image-repository
params:
image: image/image.tar
- task: deploy
Expand All @@ -96,7 +96,7 @@ jobs:
CF_APP_NAME: pages-build-container-((deploy-env))
CF_MANIFEST: .cloudgov/manifest.yml
CF_VARS_FILE: .cloudgov/vars/pages-((deploy-env)).yml
IMAGE_REPOSITORY: ../image-repository-((deploy-env))/repository
IMAGE_REPOSITORY: ../image-repository/repository
IMAGE_TAG: pages-((deploy-env))
CF_DOCKER_USERNAME: ((ecr-aws-key))
CF_DOCKER_PASSWORD: ((ecr-aws-secret))
Expand Down Expand Up @@ -225,7 +225,7 @@ resources:
source:
url: ((slack-webhook-url))

- name: image-repository-((deploy-env))
- name: image-repository
type: registry-image
source:
aws_access_key_id: ((ecr-aws-key))
Expand Down
6 changes: 3 additions & 3 deletions ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
privileged: true
image: oci-build-task
file: src/ci/partials/build.yml
- put: image-repository-((deploy-env))
- put: image-repository
params:
image: image/image.tar
- task: deploy
Expand All @@ -110,7 +110,7 @@ jobs:
CF_APP_NAME: pages-build-container-((deploy-env))
CF_MANIFEST: .cloudgov/manifest.yml
CF_VARS_FILE: .cloudgov/vars/pages-((deploy-env)).yml
IMAGE_REPOSITORY: ../image-repository-((deploy-env))/repository
IMAGE_REPOSITORY: ../image-repository/repository
IMAGE_TAG: pages-((deploy-env))
CF_DOCKER_USERNAME: ((ecr-aws-key))
CF_DOCKER_PASSWORD: ((ecr-aws-secret))
Expand Down Expand Up @@ -236,7 +236,7 @@ resources:
source:
url: ((slack-webhook-url))

- name: image-repository-((deploy-env))
- name: image-repository
type: registry-image
source:
aws_access_key_id: ((ecr-aws-key))
Expand Down

0 comments on commit 11cb48c

Please sign in to comment.