Skip to content

Commit

Permalink
Add dockerhub credentials for docker registry mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
tomdaley92 committed Jun 20, 2021
1 parent d825a99 commit c1f4b88
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .ansible/group_vars/all/dockerhub.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
dockerhub_username: !vault |
$ANSIBLE_VAULT;1.1;AES256
61343931653064343262373039383165386135303532333132336131303439316230396536313564
3230313537303633326465393436316161613830346331390a306264346462356165376136663930
30393661636338376631623537336537623035376336633635353561643033303462346461353461
6635663734373038640a616566636338613863363065336435653862396439633030653437623633
3263
dockerhub_password: !vault |
$ANSIBLE_VAULT;1.1;AES256
62343130333463643237633263643335366561623466643036346234346337366233356166633538
3831316665336164626361303062643433373931663133310a356664623262353638666266663934
62396632306565393435343338353030653930376362346666616135303764323766656134633031
3436663938363265300a303136366230373332323831306465303263353131623765356533333232
65386462636437376538636363336432613834616165376137393064303764653239393339643862
6236613761656161393063393633303338613934323061316239
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ repositories:
enableCircularRedirects: false
enableCookies: false
useTrustStore: false
authentication:
type: "username"
username: "{{ dockerhub_username }}"
password: "{{ dockerhub_password }}"
docker:
v1Enabled: false
forceBasicAuth: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ repositories:
enableCircularRedirects: false
enableCookies: false
useTrustStore: false
authentication:
type: "username"
username: "{{ dockerhub_username }}"
password: "{{ dockerhub_password }}"
docker:
v1Enabled: false
forceBasicAuth: false
Expand Down

0 comments on commit c1f4b88

Please sign in to comment.