aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-04-10 08:33:43 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-04-10 08:33:43 -0400
commit657cde7c36b3a4ff8878310792f2a768f5218a63 (patch)
treecfc8e45dd684654957a58bab49303a1310ecd2c3 /src
parent217109f49c8eb278058dc9a1bcb8cae93af2e2f9 (diff)
downloadstasis-657cde7c36b3a4ff8878310792f2a768f5218a63.tar.gz
Bug: Fix docker build flag assignments
Diffstat (limited to 'src')
-rw-r--r--src/docker.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/docker.c b/src/docker.c
index e90bf75..d5cffd9 100644
--- a/src/docker.c
+++ b/src/docker.c
@@ -156,10 +156,10 @@ int docker_capable(struct DockerCapabilities *result) {
guard_free(version);
if (!docker_exec("buildx build --help", OMC_DOCKER_QUIET)) {
- result->build |= OMC_DOCKER_BUILD;
+ result->build |= OMC_DOCKER_BUILD_X;
}
if (!docker_exec("build --help", OMC_DOCKER_QUIET)) {
- result->build |= OMC_DOCKER_BUILD_X;
+ result->build |= OMC_DOCKER_BUILD;
}
if (!result->build) {
// can't use docker without a build plugin