diff --git a/.gitea/workflows/docker.yml b/.gitea/workflows/docker.yml index 83c91b5..3e80d93 100644 --- a/.gitea/workflows/docker.yml +++ b/.gitea/workflows/docker.yml @@ -14,31 +14,31 @@ jobs: - name: Login to Registry uses: docker/login-action@v2 with: - registry: eiche:3000 + registry: gitea.tail276105.ts.net username: ${{ secrets.REGISTRY_USER }} password: ${{ secrets.REGISTRY_PASSWORD }} - name: Docker imageTags run: | REPOSITORY_LC=$(echo "${{ gitea.repository }}" | tr '[:upper:]' '[:lower:]') - echo "versioned: eiche:3000/${REPOSITORY_LC}:${GITHUB_RUN_NUMBER}" - echo "latest: eiche:3000/${REPOSITORY_LC}:latest" + echo "versioned: gitea.tail276105.ts.net/${REPOSITORY_LC}:${GITHUB_RUN_NUMBER}" + echo "latest: gitea.tail276105.ts.net/${REPOSITORY_LC}:latest" - name: Build Docker Image run: | REPOSITORY_LC=$(echo "${{ gitea.repository }}" | tr '[:upper:]' '[:lower:]') # Build the image with the commit hash tag - docker build -t eiche:3000/${REPOSITORY_LC}:${GITHUB_RUN_NUMBER} . + docker build -t gitea.tail276105.ts.net/${REPOSITORY_LC}:${GITHUB_RUN_NUMBER} . # Tag the same image as "latest" - docker tag eiche:3000/${REPOSITORY_LC}:${GITHUB_RUN_NUMBER} eiche:3000/${REPOSITORY_LC}:latest + docker tag gitea.tail276105.ts.net/${REPOSITORY_LC}:${GITHUB_RUN_NUMBER} gitea.tail276105.ts.net/${REPOSITORY_LC}:latest - name: Push Docker Images run: | REPOSITORY_LC=$(echo "${{ gitea.repository }}" | tr '[:upper:]' '[:lower:]') - docker push eiche:3000/${REPOSITORY_LC}:${GITHUB_RUN_NUMBER} - docker push eiche:3000/${REPOSITORY_LC}:latest + docker push gitea.tail276105.ts.net/${REPOSITORY_LC}:${GITHUB_RUN_NUMBER} + docker push gitea.tail276105.ts.net/${REPOSITORY_LC}:latest - name: Log out from registry if: always() - run: docker logout eiche:3000 \ No newline at end of file + run: docker logout gitea.tail276105.ts.net \ No newline at end of file