-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #115 from duplocloud/DUPLO-26299-2-build-issue
DUPLO-26299 Build fix
- Loading branch information
Showing
3 changed files
with
18 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,41 @@ | ||
services: | ||
|
||
duploctl: &base | ||
image: &image duplocloud/duploctl:latest | ||
build: | ||
duploctl: | ||
image: duplocloud/duploctl:latest | ||
container_name: duploctl | ||
build: | ||
target: runner | ||
args: &args | ||
args: | ||
PY_VERSION: ${PY_VERSION:-3.12} | ||
tags: | ||
- *image | ||
- duplocloud/duploctl:latest | ||
- duplocloud/duploctl:${GIT_SHA:-latest} | ||
- duplocloud/duploctl:${GIT_REF:-latest} | ||
- duplocloud/duploctl:${GIT_TAG:-latest} | ||
x-bake: | ||
platforms: &platforms | ||
x-bake: | ||
platforms: | ||
- linux/amd64 | ||
- linux/arm64 | ||
cache-to: type=gha,scope=runner,mode=max | ||
cache-from: type=gha,scope=runner | ||
container_name: duploctl | ||
environment: &environment | ||
environment: | ||
DUPLO_HOST: ${DUPLO_HOST:-} | ||
DUPLO_TOKEN: ${DUPLO_TOKEN:-} | ||
DUPLO_TENANT: ${DUPLO_TENANT:-} | ||
DUPLO_OUTPUT: yaml | ||
|
||
duploctl-bin: | ||
<<: *base | ||
container_name: duploctl-bin | ||
image: duplocloud/duploctl:bin | ||
container_name: duploctl-bin | ||
build: | ||
target: bin | ||
args: *args | ||
args: | ||
PY_VERSION: ${PY_VERSION:-3.12} | ||
x-bake: | ||
platforms: *platforms | ||
platforms: | ||
- linux/amd64 | ||
- linux/arm64 | ||
output: type=local,dest=./dist | ||
cache-to: type=gha,scope=installer,mode=max | ||
cache-from: type=gha,scope=installer | ||
|
Submodule wiki
updated
from 3f94af to e3b71b