25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
400 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 build -t getpinry/pinry:${IMAGE_LATEST_TAG} "${script_dir}/../" \
  6. -f "${script_dir}/../Dockerfile.autobuild"
  7. sudo docker build -t getpinry/pinry:${IMAGE_VERSION_TAG} "${script_dir}/../" \
  8. -f "${script_dir}/../Dockerfile.autobuild"