Migrate from codeberg.org to git.mcintire.me
This commit is contained in:
parent
c243949045
commit
f4dc72c811
1 changed files with 4 additions and 4 deletions
|
|
@ -10,8 +10,8 @@ on:
|
||||||
# login URL is the hardcoded env.REGISTRY rather than secrets.REGISTRY_URL
|
# login URL is the hardcoded env.REGISTRY rather than secrets.REGISTRY_URL
|
||||||
# so a stale URL secret can't push to the wrong registry.
|
# so a stale URL secret can't push to the wrong registry.
|
||||||
env:
|
env:
|
||||||
REGISTRY: codeberg.org
|
REGISTRY: git.mcintire.me
|
||||||
IMAGE_NAME: gmcintire/towerops
|
IMAGE_NAME: graham/towerops
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-exunit:
|
test-exunit:
|
||||||
|
|
@ -157,9 +157,9 @@ jobs:
|
||||||
attempt=1
|
attempt=1
|
||||||
max_attempts=3
|
max_attempts=3
|
||||||
while : ; do
|
while : ; do
|
||||||
if echo "${{ secrets.REGISTRY_PASSWORD }}" | \
|
if echo "${{ secrets.FORGEJO_TOKEN }}" | \
|
||||||
docker login "${{ env.REGISTRY }}" \
|
docker login "${{ env.REGISTRY }}" \
|
||||||
-u "${{ secrets.REGISTRY_USER }}" \
|
-u "graham" \
|
||||||
--password-stdin; then
|
--password-stdin; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue