Skip to content

Build and push Docker container from Ansible.#1

Open
FannyMalinova wants to merge 6 commits intomainfrom
ansible-docker-homework
Open

Build and push Docker container from Ansible.#1
FannyMalinova wants to merge 6 commits intomainfrom
ansible-docker-homework

Conversation

@FannyMalinova
Copy link
Owner

  1. Removed the exposed port from Dockerfile.
  2. Created an Ansible playbook that builds a container based on the Dockerfile, authenticates against Docker Hub by using Ansible Vault, pushes the image, logs out, and runs a container locally.

1. Removed the exposed port from Dockerfile.
2. Created an Ansible playbook that builds a container based on the
   Dockerfile, authenticates against Docker Hub by using Ansible Vault, pushes the image, logs out, and
runs a container locally.
@FannyMalinova FannyMalinova requested a review from vutoff November 3, 2024 20:48
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
2 Security Hotspots

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant