diff --git a/.gitea/workflows/push.yml b/.gitea/workflows/push.yml index e1718ef..fa23b6c 100644 --- a/.gitea/workflows/push.yml +++ b/.gitea/workflows/push.yml @@ -26,7 +26,7 @@ jobs: - name: Log in to container registry uses: docker/login-action@v4 with: - registry: ${{ replace(replace(github.server_url, 'https://', ''), 'http://', '') }} + registry: git.keligrubb.com username: ${{ github.actor }} password: ${{ secrets.KESTRELOS_REPO_TOKEN }} @@ -42,7 +42,7 @@ jobs: - name: Push Docker image (all tags from .tags) run: | - REGISTRY="${GITHUB_SERVER_URL#https://}" + REGISTRY="git.keligrubb.com" IMAGE="$REGISTRY/${{ github.repository }}" while read -r tag; do docker tag kestrelos:built "$IMAGE:$tag"