Skip to content

Commit 6e88b83

Browse files
authored
ci: replace secrets.HARBOR_USERNAME with vars.HARBOR_USERNAME (#123)
The Harbor username is not a secret and should be a repository/org variable instead. Refs: CI-1135 Co-Authored-By: opencode noreply@opencode.ai
1 parent 5009333 commit 6e88b83

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: GitOps (build, push and deploy a new Docker image)
4040
uses: Staffbase/gitops-github-action@v6.0
4141
with:
42-
docker-username: ${{ secrets.HARBOR_USERNAME }}
42+
docker-username: ${{ vars.HARBOR_USERNAME }}
4343
docker-password: ${{ secrets.HARBOR_PASSWORD }}
4444
docker-image: private/diablo-redbook
4545
gitops-token: ${{ secrets.GITOPS_TOKEN }}
@@ -71,7 +71,7 @@ jobs:
7171
- name: GitOps (build and push a new Docker image)
7272
uses: Staffbase/gitops-github-action@v6.0
7373
with:
74-
docker-username: ${{ secrets.HARBOR_USERNAME }}
74+
docker-username: ${{ vars.HARBOR_USERNAME }}
7575
docker-password: ${{ secrets.HARBOR_PASSWORD }}
7676
docker-image: private/diablo-redbook
7777
```

0 commit comments

Comments
 (0)