Use non-reserved variable name for registry host in build workflow
build-agent / build-and-push (push) Failing after 2s
build-agent / build-and-push (push) Failing after 2s
This commit is contained in:
@@ -16,11 +16,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Log in to Gitea registry
|
- name: Log in to Gitea registry
|
||||||
run: |
|
run: |
|
||||||
echo "${{ secrets.GITEA_TOKEN }}" | docker login "${{ vars.GITEA_HOST }}" \
|
echo "${{ secrets.GITEA_TOKEN }}" | docker login "${{ vars.REGISTRY_HOST }}" \
|
||||||
-u "${{ gitea.actor }}" --password-stdin
|
-u "${{ gitea.actor }}" --password-stdin
|
||||||
|
|
||||||
- name: Build and push claude-agent image
|
- name: Build and push claude-agent image
|
||||||
run: |
|
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 build -t "$IMAGE" ./agent
|
||||||
docker push "$IMAGE"
|
docker push "$IMAGE"
|
||||||
|
|||||||
Reference in New Issue
Block a user