-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker_image build args failing #455
Comments
Do you know whether this worked with an older version of community.docker (i.e. 2.x.y or 1.x.y)? |
Hm, I used it very often previously. I just checked my last gh action logs (https://github.com/pgstef/check_pgbackrest/actions) and it appeared to work with Hope this help. |
I had the same issue today, downgrade community.docker to 2.7.1 resolved that for me. |
Thanks for the feedback, I've started working on this (by adding a test for this). This is very likely related to the change that docker_image no longer needs the Docker SDK for Python. |
SUMMARY
Hello,
The docker_image build args doesn't seem to work.
With this simple playbook:
And a very small Dockerfile:
I get the following error message:
Error building test - code: None, message: base name ($test) should not be blank, logs: ['Step 1/3 : ARG test', '', 'Step 2/3 : FROM $test', '']
.I'm on python 3.8.10, ansible core 2.13.3 and community.docker 3.0.1.
Many thanks in advance for your help or guidance.
ISSUE TYPE
COMPONENT NAME
ANSIBLE VERSION
COLLECTION VERSION
OS / ENVIRONMENT
I discovered this issue on Ubuntu 20.04 (on a vagrant box: https://app.vagrantup.com/bento/boxes/ubuntu-20.04).
STEPS TO REPRODUCE
See summary for the reproducible test case.
The text was updated successfully, but these errors were encountered: