Skip to content

Commit

Permalink
Merge pull request #362 from mission-apprentissage/infra/docker-login
Browse files Browse the repository at this point in the history
[Infra] Ajoute Docker login
  • Loading branch information
yohanngab authored Nov 18, 2024
2 parents ad629b8 + b14fc6e commit bd45bd6
Show file tree
Hide file tree
Showing 3 changed files with 446 additions and 437 deletions.
4 changes: 4 additions & 0 deletions .infra/ansible/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
- "../vault/vault.yml"
tasks:
- include_tasks: ./tasks/files_copy.yml
- name: Docker login
shell: "echo $PASS | docker login -u '{{ vault.DOCKER_LOGIN.user }}' --password-stdin"
environment:
PASS: "{{ vault.DOCKER_LOGIN.token }}"

- name: Récupération des images docker
shell:
Expand Down
Loading

0 comments on commit bd45bd6

Please sign in to comment.