-
Notifications
You must be signed in to change notification settings - Fork 28
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
Allow Network Host #252
Comments
Can you create a bug report and provide a link to your repo or give us a small repro please? |
@crazy-max thank you for the fast reply. Do you know if there's a way to pass this |
You can't enforce within the bake definition but you can with |
Ah I see, so that's not available yet, I look forward into contributing to open-source projects, do you think it would be too hard to implement that? If you can maybe assist me I would like to try :) |
Maybe add an option like |
Thanks but already opened one #253 sorry 😅
No, the inputs action should have the same UX as the |
@fnacarellidev Btw can you create a repro for your issue or share your bake definition? |
Sure, this is my current bake definition: - name: bake integrate
uses: docker/bake-action@v5
with:
push: false
load: true
targets: integrate
workdir: ${{ matrix.package }}
files: |-
compose.yaml
compose-cache.json compose.yml: services:
integrate:
command: "true"
build:
context: ../..
dockerfile: svcs/books/Dockerfile
network: host
target: integrate compose-cache.json: {
"target": {
"integrate": {
"cache-from": [
"type=gha,scope=ci-Linux-X64-devserver",
"type=gha,scope=ci-Linux-X64-svcs-books-integrate"
],
"cache-to": [
"type=gha,scope=ci-Linux-X64-svcs-books-integrate"
],
"output": [
"type=docker"
]
}
}
}
|
@crazy-max I need to wait for the next release to use that, right? |
Should be good now https://github.com/docker/bake-action/releases/tag/v5.10.0 |
It worked perfectly, thank you @crazy-max, also, if you have any task that needs to be done and it's a good first issue, please contact me, I'm very interested into contributing to open-source projects :) |
Description
Is there any way to specify the
--allow=network.host
flag to bake without manually running the command? I tried using theentitlements
field, but it didn't work, didn't find anything other than that that seems to be related with the problem I'm having:The text was updated successfully, but these errors were encountered: