patch: fix docker login during push stage
All checks were successful
PR / lint (pull_request) Successful in 38s
PR / test (pull_request) Successful in 1m10s
PR / e2e (pull_request) Successful in 1m24s
PR / docker-build (pull_request) Successful in 1m31s

This commit is contained in:
Madison Grubb
2026-03-05 10:26:54 -05:00
parent bd2092a3ea
commit 26056ede99

View File

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