Skip to content
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

compose_file ignored build args #134

Closed
Clashsoft opened this issue Aug 28, 2023 · 1 comment · Fixed by #137
Closed

compose_file ignored build args #134

Clashsoft opened this issue Aug 28, 2023 · 1 comment · Fixed by #137

Comments

@Clashsoft
Copy link

Simple example:

services:
  bar:
    image: bar
    build:
      context: .
      args:
        FOO: bar

The command is just docker build -t bar -f ./Dockerfile, no --build-arg FOO=bar or anything.

@Clashsoft
Copy link
Author

Due to this and #133, I recommend docker-compose users to just switch to https://github.com/docker/bake-action

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 a pull request may close this issue.

1 participant