fix: update Docker registry configuration and login endpoint in build workflow
Some checks failed
Build And Publish Production Image / Build And Publish Production Image (push) Failing after 1m18s

This commit is contained in:
2026-03-28 00:31:33 -03:00
parent 854fabd874
commit 5f8834d0d4

View File

@@ -10,8 +10,7 @@ jobs:
name: Build And Publish Production Image
runs-on: ubuntu-latest
env:
REGISTRY: registry.gitea.lab
REGISTRY_LOGIN_ENDPOINT: http://registry.gitea.lab
REGISTRY: gitea.lab:80
IMAGE_NAME: sancho41/condado-newsletter
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
@@ -41,11 +40,11 @@ jobs:
fi
if [ -z "$REGISTRY_PASSWORD" ]; then
echo "REGISTRY_PASSWORD secret is empty; cannot log in to ${REGISTRY_LOGIN_ENDPOINT}."
echo "REGISTRY_PASSWORD secret is empty; cannot log in to ${REGISTRY}."
exit 1
fi
echo "$REGISTRY_PASSWORD" | docker login ${REGISTRY_LOGIN_ENDPOINT} -u "$REGISTRY_USERNAME" --password-stdin
echo "$REGISTRY_PASSWORD" | docker login ${REGISTRY} -u "$REGISTRY_USERNAME" --password-stdin
- name: Tag registry images
run: |