From 837214f41a3fca583822c265c9c50eabd430aacc Mon Sep 17 00:00:00 2001 From: Gabriel Sancho Date: Fri, 27 Mar 2026 17:07:30 -0300 Subject: [PATCH] fix: update Gitea registry login endpoint in build workflow --- .gitea/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 9bb9817..3acfcf1 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -11,6 +11,7 @@ jobs: runs-on: ubuntu-latest env: REGISTRY: registry.gitea.lab + REGISTRY_LOGIN_ENDPOINT: http://registry.gitea.lab IMAGE_NAME: sancho41/condado-newsletter steps: - uses: actions/checkout@v4 @@ -37,11 +38,11 @@ jobs: fi if [ -z "$REGISTRY_PASSWORD" ]; then - echo "REGISTRY_PASSWORD secret is empty; cannot log in to ${REGISTRY}." + echo "REGISTRY_PASSWORD secret is empty; cannot log in to ${REGISTRY_LOGIN_ENDPOINT}." exit 1 fi - echo "$REGISTRY_PASSWORD" | docker login ${REGISTRY} -u "$REGISTRY_USERNAME" --password-stdin + echo "$REGISTRY_PASSWORD" | docker login ${REGISTRY_LOGIN_ENDPOINT} -u "$REGISTRY_USERNAME" --password-stdin - name: Tag registry images run: |