File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }}
You can’t perform that action at this time.
0 commit comments