Skip to content

Commit

Permalink
update the image location
Browse files Browse the repository at this point in the history
  • Loading branch information
Mautjee committed Sep 12, 2024
1 parent 7be825a commit da5b064
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 11 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/chicmoz-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ on:
- production
types:
- closed
env:
DOCKER_CONFIG: ${{ github.workspace }}/.docker

jobs:
build_and_deploy:
Expand All @@ -33,10 +31,8 @@ jobs:
with:
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}

- name: Set up Docker authentication
run: |
mkdir -p ${{ env.DOCKER_CONFIG }}
docker login registry.digitalocean.com -u ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }} --password-stdin <<< "${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}"
- name: Log in to DigitalOcean Container Registry with short-lived credentials
run: doctl registry login --expiry-seconds 1200

- name: Cleanup old images
run: |
Expand Down
2 changes: 1 addition & 1 deletion k8s/production/auth/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
app: auth
spec:
containers:
- image: auth:latest
- image: registry.digitalocean.com/aztlan-containers/auth:latest
resources:
limits:
memory: 500Mi
Expand Down
2 changes: 1 addition & 1 deletion k8s/production/aztec-listener/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
app: aztec-listener
spec:
containers:
- image: aztec-listener:latest
- image: registry.digitalocean.com/aztlan-containers/aztec-listener:latest
resources:
limits:
memory: 750Mi
Expand Down
2 changes: 1 addition & 1 deletion k8s/production/dummy-node/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
app: dummy-node
spec:
containers:
- image: dummy-node:latest
- image: registry.digitalocean.com/aztlan-containers/dummy-node:latest
resources:
limits:
memory: 500Mi
Expand Down
2 changes: 1 addition & 1 deletion k8s/production/explorer-api/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
app: explorer-api
spec:
containers:
- image: explorer-api:latest
- image: registry.digitalocean.com/aztlan-containers/explorer-api:latest
resources:
limits:
memory: 4096Mi
Expand Down
2 changes: 1 addition & 1 deletion k8s/production/explorer-ui/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
app: explorer-ui
spec:
containers:
- image: explorer-ui:latest
- image: registry.digitalocean.com/aztlan-containers/explorer-ui:latest
resources:
limits:
memory: 500Mi
Expand Down

0 comments on commit da5b064

Please sign in to comment.