DEV Community

Discussion on: Deploy Ansible with GitHub Actions

 
joshduffney profile image
Josh Duffney

That means that the container image wasn't found locally. You'll first have to run the docker build . -t ankitjaadoo/ansible-container:latest from the directory where the dockerfile is located for the GH action. :)

Please lmk if that helps.

Thread Thread
 
ankitjaadoo profile image
Ankit Kumar

alright, I am going to try that

Thread Thread
 
ankitjaadoo profile image
Ankit Kumar

BTW if I were to run the docker build command as apart of the github actions, should I include it in the actions preceding the workflows or within a new workflow altogether?