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
|
runs-on: ubuntu-latest
|
||||||
if: "!startsWith(github.event.head_commit.message, 'chore: bump version')"
|
if: "!startsWith(github.event.head_commit.message, 'chore: bump version')"
|
||||||
env:
|
env:
|
||||||
REGISTRY: git.lunarfront.tech
|
REGISTRY: registry.digitalocean.com/lunarfront
|
||||||
GIT_REMOTE: git.lunarfront.tech
|
GIT_REMOTE: git.lunarfront.tech
|
||||||
DOCKER_HOST: tcp://localhost:2375
|
DOCKER_HOST: tcp://localhost:2375
|
||||||
|
|
||||||
@@ -54,7 +54,7 @@ jobs:
|
|||||||
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Login to registry
|
- 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
|
- name: Build and push
|
||||||
run: |
|
run: |
|
||||||
@@ -81,4 +81,4 @@ jobs:
|
|||||||
|
|
||||||
- name: Logout
|
- name: Logout
|
||||||
if: always()
|
if: always()
|
||||||
run: docker logout $REGISTRY
|
run: docker logout registry.digitalocean.com
|
||||||
|
|||||||
Reference in New Issue
Block a user