diff --git a/.github/workflows/chicmoz-prod.yml b/.github/workflows/chicmoz-prod.yml index 5ae927ff..c3ecefa7 100644 --- a/.github/workflows/chicmoz-prod.yml +++ b/.github/workflows/chicmoz-prod.yml @@ -10,8 +10,6 @@ on: - production types: - closed -env: - DOCKER_CONFIG: ${{ github.workspace }}/.docker jobs: build_and_deploy: @@ -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: | diff --git a/k8s/production/auth/deployment.yaml b/k8s/production/auth/deployment.yaml index 72781c1a..2d4c1154 100644 --- a/k8s/production/auth/deployment.yaml +++ b/k8s/production/auth/deployment.yaml @@ -17,7 +17,7 @@ spec: app: auth spec: containers: - - image: auth:latest + - image: registry.digitalocean.com/aztlan-containers/auth:latest resources: limits: memory: 500Mi diff --git a/k8s/production/aztec-listener/deployment.yaml b/k8s/production/aztec-listener/deployment.yaml index f416018d..e94a1848 100644 --- a/k8s/production/aztec-listener/deployment.yaml +++ b/k8s/production/aztec-listener/deployment.yaml @@ -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 diff --git a/k8s/production/dummy-node/deployment.yaml b/k8s/production/dummy-node/deployment.yaml index 52271165..39dfd9c7 100644 --- a/k8s/production/dummy-node/deployment.yaml +++ b/k8s/production/dummy-node/deployment.yaml @@ -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 diff --git a/k8s/production/explorer-api/deployment.yaml b/k8s/production/explorer-api/deployment.yaml index d4190dad..5c7c596c 100644 --- a/k8s/production/explorer-api/deployment.yaml +++ b/k8s/production/explorer-api/deployment.yaml @@ -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 diff --git a/k8s/production/explorer-ui/deployment.yaml b/k8s/production/explorer-ui/deployment.yaml index 7bae2ac4..ad9d16bb 100644 --- a/k8s/production/explorer-ui/deployment.yaml +++ b/k8s/production/explorer-ui/deployment.yaml @@ -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