justfile 667 B

12345678910111213141516171819202122232425262728293031
  1. default:
  2. just --list
  3. build-local:
  4. npm install
  5. npx parcel build src/index.html
  6. build IMAGETAG: build-local
  7. docker buildx build \
  8. --rm \
  9. --platform "linux/amd64" \
  10. -f 'Dockerfile.cross' \
  11. --provenance=false \
  12. -t {{IMAGETAG}}-amd64 \
  13. --push \
  14. .
  15. docker buildx build \
  16. --rm \
  17. --platform "linux/arm64" \
  18. -f 'Dockerfile.cross' \
  19. --provenance=false \
  20. -t {{IMAGETAG}}-arm64 \
  21. --push \
  22. .
  23. manifest-tool push from-args \
  24. --platforms "linux/amd64,linux/arm64" \
  25. --template {{IMAGETAG}}-ARCH \
  26. --target {{IMAGETAG}}