- Notifications
You must be signed in to change notification settings - Fork692
-
I am using this action in a reusable workflow and I would like to give the other devs the option to build the image without pushing it to check for build errors using some sort of push boolean variable, how could I do this? |
BetaWas this translation helpful?Give feedback.
All reactions
You can use thecacheonly exporter:https://docs.docker.com/build/exporters/#cache-only-export
-name:Build and pushuses:docker/build-push-action@v6with:outputs:type=cacheonlytags:user/app:latest
Replies: 1 comment 3 replies
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
You can use the -name:Build and pushuses:docker/build-push-action@v6with:outputs:type=cacheonlytags:user/app:latest |
BetaWas this translation helpful?Give feedback.
All reactions
❤️ 2
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
is this equivalent to? |
BetaWas this translation helpful?Give feedback.
All reactions
-
No
|
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
-
What if I want to use |
BetaWas this translation helpful?Give feedback.