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.

build.sh 503B

1234567891011121314151617181920
  1. #!/bin/sh
  2. set -eu
  3. gitea_version='1.9.1'
  4. gitea_checksum='ab23e4b7f4cd0caafe0174c0e7ef6d651ba72889'
  5. image_name='orzech/gitea'
  6. source='https://orzechowski.tech/git/orzech/gitea-docker'
  7. if [ -n "${SOURCE_COMMIT:-}" ]; then
  8. source="${source}/src/commit/${SOURCE_COMMIT}"
  9. fi
  10. docker build \
  11. --disable-content-trust=false \
  12. --build-arg "gitea_version=${gitea_version}" \
  13. --build-arg "gitea_checksum=${gitea_checksum}" \
  14. --build-arg "source=${source}" \
  15. -t "${IMAGE_NAME:-${image_name}}" \
  16. .