Skip to content

Commit

Permalink
Merge pull request #5 from thin-edge/fix-disable-oci-images
Browse files Browse the repository at this point in the history
feat: disable oci images for improved compatibility
  • Loading branch information
reubenmiller authored Sep 10, 2024
2 parents 34193b2 + e561901 commit c61eebc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ build-setup:
# Example:
# just build registry latest
# just build registry 1.2.0
# Use oci-mediatypes=false to improve compatibility with older docker verions, e.g. <= 19.0.x
# See https://github.com/docker/buildx/issues/1964#issuecomment-1644634461
build OUTPUT_TYPE=DEFAULT_OUTPUT_TYPE VERSION='latest': build-setup
docker buildx build --platform linux/arm/v6,linux/arm/v7,linux/amd64,linux/arm64 --build-arg "TEDGE_IMAGE={{TEDGE_IMAGE}}" --build-arg "TEDGE_TAG={{TEDGE_TAG}}" -t "{{REGISTRY}}/{{REPO_OWNER}}/{{IMAGE}}:{{VERSION}}" -t "{{REGISTRY}}/{{REPO_OWNER}}/{{IMAGE}}:latest" -f Dockerfile --output=type="{{OUTPUT_TYPE}}" .
docker buildx build --platform linux/arm/v6,linux/arm/v7,linux/amd64,linux/arm64 --build-arg "TEDGE_IMAGE={{TEDGE_IMAGE}}" --build-arg "TEDGE_TAG={{TEDGE_TAG}}" -t "{{REGISTRY}}/{{REPO_OWNER}}/{{IMAGE}}:{{VERSION}}" -t "{{REGISTRY}}/{{REPO_OWNER}}/{{IMAGE}}:latest" -f Dockerfile --output=type="{{OUTPUT_TYPE}}",oci-mediatypes=false .

# Install python virtual environment
venv:
Expand Down

1 comment on commit c61eebc

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass % ⏱️ Duration
6 0 1 6 100 12.084606s

Passed Tests

Name ⏱️ Duration Suite
Get Logfile Request 2.342 s Operations
Get Configuration File 4.649 s Operations
Execute Shell Command 2.324 s Operations
Cloud Connecion is Online 0.116 s Telemetry
Service status 0.216 s Telemetry
Sends measurements 2.434 s Telemetry

Please sign in to comment.