From f80523821e325667412d8f837298d6a9f23ca4ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Z=C3=A1le=C5=A1=C3=A1k?= Date: Sat, 25 Oct 2025 12:55:48 +0200 Subject: [PATCH] fix workflows --- .gitea/workflows/pages-deploy.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/pages-deploy.yml b/.gitea/workflows/pages-deploy.yml index 83258cd..9cfe5c9 100644 --- a/.gitea/workflows/pages-deploy.yml +++ b/.gitea/workflows/pages-deploy.yml @@ -57,17 +57,17 @@ jobs: echo "FROM nginx:alpine" > Dockerfile echo "COPY _site /usr/share/nginx/html" >> Dockerfile echo "EXPOSE 80" >> Dockerfile - docker build -t ${CI_REGISTRY_IMAGE:-10.22.16.11:80/${{ gitea.repository }}}:${{ gitea.sha }} . + docker build -t ${CI_REGISTRY_IMAGE:-git.pixx.cz/${{ gitea.repository }}}:${{ gitea.sha }} . - name: Login to Gitea Container Registry run: | - echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login ${CI_REGISTRY:-10.22.16.11:80} \ + echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login ${CI_REGISTRY:-git.pixx.cz} \ -u "${{ secrets.REGISTRY_USERNAME }}" --password-stdin - name: Push Docker image run: | - docker tag ${CI_REGISTRY_IMAGE:-10.22.16.11:80/${{ gitea.repository }}}:${{ gitea.sha }} \ - ${CI_REGISTRY_IMAGE:-10.22.16.11:80/${{ gitea.repository }}}:latest - docker push ${CI_REGISTRY_IMAGE:-10.22.16.11:80/${{ gitea.repository }}}:${{ gitea.sha }} - docker push ${CI_REGISTRY_IMAGE:-10.22.16.11:80/${{ gitea.repository }}}:latest + docker tag ${CI_REGISTRY_IMAGE:-git.pixx.cz/${{ gitea.repository }}}:${{ gitea.sha }} \ + ${CI_REGISTRY_IMAGE:-git.pixx.cz/${{ gitea.repository }}}:latest + docker push ${CI_REGISTRY_IMAGE:-git.pixx.cz/${{ gitea.repository }}}:${{ gitea.sha }} + docker push ${CI_REGISTRY_IMAGE:-git.pixx.cz/${{ gitea.repository }}}:latest