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.
 
 
 
 
 
 

16 line
414 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. --no-cache \
  7. --push \
  8. --platform linux/arm/v7,linux/arm64/v8,linux/amd64 \
  9. -t getpinry/pinry:${IMAGE_LATEST_TAG} \
  10. -t getpinry/pinry:${IMAGE_VERSION_TAG} \
  11. "${script_dir}/../" \
  12. -f "${script_dir}/../Dockerfile.autobuild"