Use non-reserved variable name for registry host in build workflow
build-agent / build-and-push (push) Failing after 2s

This commit is contained in:
2026-08-23 10:50:39 +00:00
parent 622e35f979
commit 8c57c48e9e
+2 -2
View File
@@ -16,11 +16,11 @@ jobs:
- name: Log in to Gitea registry
run: |
echo "${{ secrets.GITEA_TOKEN }}" | docker login "${{ vars.GITEA_HOST }}" \
echo "${{ secrets.GITEA_TOKEN }}" | docker login "${{ vars.REGISTRY_HOST }}" \
-u "${{ gitea.actor }}" --password-stdin
- name: Build and push claude-agent image
run: |
IMAGE="${{ vars.GITEA_HOST }}/${{ gitea.repository }}/claude-agent:latest"
IMAGE="${{ vars.REGISTRY_HOST }}/${{ gitea.repository }}/claude-agent:latest"
docker build -t "$IMAGE" ./agent
docker push "$IMAGE"