Skip to content

Commit 62b40d3

Browse files
committed
Fix ci
1 parent cb96ae7 commit 62b40d3

1 file changed

Lines changed: 3 additions & 14 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -126,24 +126,13 @@ jobs:
126126
echo "${{ secrets.RAILS_MASTER_KEY }}" > config/master.key
127127
chmod 600 config/master.key
128128
129-
- name: Login to GitHub Container Registry
130-
uses: docker/login-action@v3
131-
with:
132-
registry: ghcr.io
133-
username: ${{ github.actor }}
134-
password: ${{ secrets.GITHUB_TOKEN }}
135-
136-
- name: Kamal Registry Login
137-
env:
138-
KAMAL_REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
139-
KAMAL_REGISTRY_USERNAME: ${{ github.actor }}
129+
- name: Login to DigitalOcean Container Registry
140130
run: |
141-
bin/kamal registry login --verbose
131+
echo "${{ secrets.DOCKER_REGISTRY_TOKEN }}" | docker login registry.digitalocean.com/super-registry -u ${{ secrets.DOCKER_REGISTRY_TOKEN }} --password-stdin
142132
143133
- name: Kamal Deploy
144134
env:
145-
KAMAL_REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
146-
KAMAL_REGISTRY_USERNAME: ${{ github.actor }}
135+
DOCKER_REGISTRY_TOKEN: ${{ secrets.DOCKER_REGISTRY_TOKEN }}
147136
SMTP_USERNAME: ${{ secrets.SMTP_USERNAME }}
148137
SMTP_PASSWORD: ${{ secrets.SMTP_PASSWORD }}
149138
RESEND_API_KEY: ${{ secrets.RESEND_API_KEY }}

0 commit comments

Comments
 (0)