feat: push to DOCR instead of Gitea registry
Some checks failed
Build & Release / build (push) Failing after 5s
Some checks failed
Build & Release / build (push) Failing after 5s
This commit is contained in:
@@ -14,7 +14,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
if: "!startsWith(github.event.head_commit.message, 'chore: bump version')"
|
||||
env:
|
||||
REGISTRY: git.lunarfront.tech
|
||||
REGISTRY: registry.digitalocean.com/lunarfront
|
||||
GIT_REMOTE: git.lunarfront.tech
|
||||
DOCKER_HOST: tcp://localhost:2375
|
||||
|
||||
@@ -54,7 +54,7 @@ jobs:
|
||||
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Login to registry
|
||||
run: echo "${{ secrets.REGISTRY_TOKEN }}" | docker login $REGISTRY -u ryan --password-stdin
|
||||
run: echo "${{ secrets.DOCR_TOKEN }}" | docker login registry.digitalocean.com -u "${{ secrets.DOCR_TOKEN }}" --password-stdin
|
||||
|
||||
- name: Build and push
|
||||
run: |
|
||||
@@ -81,4 +81,4 @@ jobs:
|
||||
|
||||
- name: Logout
|
||||
if: always()
|
||||
run: docker logout $REGISTRY
|
||||
run: docker logout registry.digitalocean.com
|
||||
|
||||
Reference in New Issue
Block a user