Skip to content

Commit 153a276

Browse files
Fix: Switch to Docker Hub registry for reliable authentication
1 parent e9c6c11 commit 153a276

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/docker-build.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,11 @@ jobs:
2020
with:
2121
fetch-depth: 0
2222

23-
- name: Log in to the GitHub Container Registry
23+
- name: Log in to Docker Hub
2424
uses: docker/login-action@v2
2525
with:
26-
registry: ghcr.io
27-
username: Metatronsdoob369
28-
password: ${{ secrets.GITHUB_TOKEN }}
26+
username: ${{ secrets.DOCKERHUB_USERNAME }}
27+
password: ${{ secrets.DOCKERHUB_TOKEN }}
2928

3029
- name: Convert owner name to lowercase
3130
id: string
@@ -40,5 +39,5 @@ jobs:
4039
file: ./agents/Dockerfile
4140
push: true
4241
tags: |
43-
ghcr.io/${{ steps.string.outputs.lowercase }}/clay-i-agent:latest
44-
ghcr.io/${{ steps.string.outputs.lowercase }}/clay-i-agent:v15
42+
${{ secrets.DOCKERHUB_USERNAME }}/clay-i-agent:latest
43+
${{ secrets.DOCKERHUB_USERNAME }}/clay-i-agent:v15

0 commit comments

Comments
 (0)