Skip to content

Commit

Permalink
Switch to Artifact Registry
Browse files Browse the repository at this point in the history
  • Loading branch information
rad-pat committed Dec 22, 2023
1 parent ad41b6c commit 621f93a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build_beta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Login to GCR
uses: docker/login-action@v2
with:
registry: gcr.io
registry: us-docker.pkg.dev
username: _json_key
password: ${{ secrets.GCR_JSON_KEY }}
- name: Build and push
Expand All @@ -41,7 +41,7 @@ jobs:
no-cache: true
build-args: |
RUN_AS_USER=plaid
tags: gcr.io/plaidcloud-build/redistomp:latest,gcr.io/plaidcloud-build/redistomp:${{ steps.docker_tag.outputs.tag }}
tags: us-docker.pkg.dev/plaidcloud-build/us-plaidcloud/redistomp:latest,us-docker.pkg.dev/plaidcloud-build/us-plaidcloud/redistomp:${{ steps.docker_tag.outputs.tag }}

- name: Checkout GitOps Repository
uses: actions/checkout@v3
Expand All @@ -55,7 +55,6 @@ jobs:
- name: Update Control Plane & Tenant Image
uses: fjogeleit/yaml-update-action@main
with:
# valueFile: 'controlplane/environment-values/ci-cluster.yaml'
repository: PlaidCloud/plaid-tenant-infrastructure
branch: beta
message: 'Update STOMP Image to ${{ steps.docker_tag.outputs.tag }}'
Expand All @@ -64,9 +63,9 @@ jobs:
changes: |
{
"controlplane/values.yaml": {
"apps.stomp.image": "gcr.io/plaidcloud-build/redistomp:${{ steps.docker_tag.outputs.tag }}"
"apps.stomp.image": "us-docker.pkg.dev/plaidcloud-build/us-plaidcloud/redistomp:${{ steps.docker_tag.outputs.tag }}"
},
"tenants/values.yaml": {
"apps.stomp.image": "gcr.io/plaidcloud-build/redistomp:${{ steps.docker_tag.outputs.tag }}"
"apps.stomp.image": "us-docker.pkg.dev/plaidcloud-build/us-plaidcloud/redistomp:${{ steps.docker_tag.outputs.tag }}"
}
}
9 changes: 4 additions & 5 deletions .github/workflows/build_io.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Login to GCR
uses: docker/login-action@v2
with:
registry: gcr.io
registry: us-docker.pkg.dev
username: _json_key
password: ${{ secrets.GCR_JSON_KEY }}
- name: Build and push
Expand All @@ -41,7 +41,7 @@ jobs:
no-cache: true
build-args: |
RUN_AS_USER=plaid
tags: gcr.io/plaidcloud-build/redistomp:latest,gcr.io/plaidcloud-build/redistomp:${{ steps.docker_tag.outputs.tag }}
tags: us-docker.pkg.dev/plaidcloud-build/us-plaidcloud/redistomp:latest,us-docker.pkg.dev/plaidcloud-build/us-plaidcloud/redistomp:${{ steps.docker_tag.outputs.tag }}

- name: Checkout GitOps Repository
uses: actions/checkout@v3
Expand All @@ -55,7 +55,6 @@ jobs:
- name: Update Control Plane & Tenant Image
uses: fjogeleit/yaml-update-action@main
with:
# valueFile: 'controlplane/environment-values/ci-cluster.yaml'
repository: PlaidCloud/plaid-tenant-infrastructure
branch: master
message: 'Update STOMP Image to ${{ steps.docker_tag.outputs.tag }}'
Expand All @@ -64,10 +63,10 @@ jobs:
changes: |
{
"controlplane/values.yaml": {
"apps.stomp.image": "gcr.io/plaidcloud-build/redistomp:${{ steps.docker_tag.outputs.tag }}"
"apps.stomp.image": "us-docker.pkg.dev/plaidcloud-build/us-plaidcloud/redistomp:${{ steps.docker_tag.outputs.tag }}"
},
"tenants/values.yaml": {
"apps.stomp.image": "gcr.io/plaidcloud-build/redistomp:${{ steps.docker_tag.outputs.tag }}"
"apps.stomp.image": "us-docker.pkg.dev/plaidcloud-build/us-plaidcloud/redistomp:${{ steps.docker_tag.outputs.tag }}"
}
}
Expand Down

0 comments on commit 621f93a

Please sign in to comment.