Migrate from codeberg.org to git.mcintire.me
This commit is contained in:
parent
dfb3dfd9e8
commit
c243949045
1 changed files with 4 additions and 4 deletions
|
|
@ -27,8 +27,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-base
|
IMAGE_NAME: graham/towerops-base
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
|
@ -101,9 +101,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