From 5f8834d0d47eb0a0483edbe153e3c76cf861dec0 Mon Sep 17 00:00:00 2001 From: Gabriel Sancho Date: Sat, 28 Mar 2026 00:31:33 -0300 Subject: [PATCH] fix: update Docker registry configuration and login endpoint in build workflow --- .gitea/workflows/build.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index eabc144..7505f2d 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -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: |