Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update image_repo references #1680

Merged
merged 6 commits into from
Jul 1, 2022
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions .github/actions/combine-deploy-update/action.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
name: "Combine Deploy Updates"
description: "Deploy updated images for The Combine to the Kubernetes cluster"
inputs:
image_repo:
description: "Docker Image Repository"
image_registry:
description: "Docker Image Registry"
required: true
image_registry_alias:
description: "Custom or default alias for AWS Public ECR registries. Blank for AWS ECR Private registries."
required: false
default: ""
image_tag:
description: "Image Tag for docker images"
required: true
Expand All @@ -29,22 +33,22 @@ runs:
- name: Update frontend
run: kubectl --context ${{ inputs.kube_context }}
set image deployment/frontend
frontend="${{ inputs.image_repo }}/combine_frontend:${{ inputs.image_tag }}"
frontend="${{ inputs.image_registry }}${{ inputs.image_registry_alias}}/combine_frontend:${{ inputs.image_tag }}"
shell: bash
- name: Update backend
run: kubectl --context ${{ inputs.kube_context }}
set image deployment/backend
backend="${{ inputs.image_repo }}/combine_backend:${{ inputs.image_tag }}"
backend="${{ inputs.image_registry }}${{ inputs.image_registry_alias}}/combine_backend:${{ inputs.image_tag }}"
shell: bash
- name: Update maintenance
run: kubectl --context ${{ inputs.kube_context }}
set image deployment/maintenance
maintenance="${{ inputs.image_repo }}/combine_maint:${{ inputs.image_tag }}"
maintenance="${{ inputs.image_registry }}${{ inputs.image_registry_alias}}/combine_maint:${{ inputs.image_tag }}"
shell: bash
- name: Update Cert Proxy Server
if: ${{ inputs.update_cert_proxy == 'true' }}
run: kubectl --context ${{ inputs.kube_context }}
--namespace combine-cert-proxy
set image deployment/combine-cert-proxy
combine-cert-proxy="${{ inputs.image_repo }}/combine_maint:${{ inputs.image_tag }}"
combine-cert-proxy="${{ inputs.image_registry }}/combine_maint:${{ inputs.image_tag }}"
shell: bash