File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 6
6
- main
7
7
8
8
env :
9
- REGISTRY_USERNAME : ${{ secrets.REGISTRY_USERNAME }}
9
+ REGISTRY_USERNAME : ${{ secrets.DOCKERHUBUSERNAME }}
10
10
11
11
jobs :
12
12
docker :
@@ -20,14 +20,14 @@ jobs:
20
20
if : env.REGISTRY_USERNAME != ''
21
21
with :
22
22
registry : quay.io
23
- username : ${{ secrets.REGISTRY_USERNAME }}
24
- password : ${{ secrets.REGISTRY_PASSWORD }}
23
+ username : ${{ secrets.DOCKERHUBUSERNAME }}
24
+ password : ${{ secrets.DOCKERHUBACCESSTOKEN }}
25
25
26
26
- name : Build Docker image
27
27
if : env.REGISTRY_USERNAME != ''
28
28
run : |
29
29
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
31
31
32
32
release-draft :
33
33
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments