You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 rivejä
554 B

  1. #!/bin/bash
  2. script_dir="$( dirname "${0}" )"
  3. IMAGE_LATEST_TAG="latest"
  4. IMAGE_VERSION_TAG=`git tag -l --sort=-creatordate | head -n 1 | sed "s/v//g"`
  5. sudo docker buildx build \
  6. --push \
  7. --platform linux/arm/v7,linux/arm64/v8,linux/amd64 \
  8. -t getpinry/pinry:${IMAGE_LATEST_TAG} "${script_dir}/../" \
  9. -f "${script_dir}/../Dockerfile.autobuild"
  10. sudo docker buildx build \
  11. --push \
  12. --platform linux/arm/v7,linux/arm64/v8,linux/amd64 \
  13. -t getpinry/pinry:${IMAGE_VERSION_TAG} "${script_dir}/../" \
  14. -f "${script_dir}/../Dockerfile.autobuild"