Skip to content

Commit 0777829

Browse files
committed
change config for publish.yml
Signed-off-by: kamiKAC <m.k.rudzki@gmail.com>
1 parent 3df7ebb commit 0777829

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- main
77

88
env:
9-
REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
9+
REGISTRY_USERNAME: ${{ secrets.DOCKERHUBUSERNAME }}
1010

1111
jobs:
1212
docker:
@@ -20,14 +20,14 @@ jobs:
2020
if: env.REGISTRY_USERNAME != ''
2121
with:
2222
registry: quay.io
23-
username: ${{ secrets.REGISTRY_USERNAME }}
24-
password: ${{ secrets.REGISTRY_PASSWORD }}
23+
username: ${{ secrets.DOCKERHUBUSERNAME }}
24+
password: ${{ secrets.DOCKERHUBACCESSTOKEN }}
2525

2626
- name: Build Docker image
2727
if: env.REGISTRY_USERNAME != ''
2828
run: |
2929
docker build --pull --tag quay.io/terraform-docs/gh-actions:edge .
30-
docker push quay.io/terraform-docs/gh-actions:edge
30+
docker push ${{ secrets.DOCKERHUBUSERNAME }}/gh-actions:edge
3131
3232
release-draft:
3333
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)