github.com/companieshouse/insolvency-api@v0.0.0-20231024103413-440c973d9e9b/Tiltfile.dev (about)

     1  custom_build(
     2    ref = '169942020521.dkr.ecr.eu-west-1.amazonaws.com/local/insolvency-api',
     3     #the following build-command was updated as specified by https://github.com/companieshouse/docker-chs-development/pull/581
     4     command = 'DOCKER_BUILDKIT=0 docker build --build-arg SSH_PRIVATE_KEY="$(ssh_key_path="$(ssh -G github.com | grep -e \'^identityfile.*\' | head -n1 | sed \'s|^identityfile \\(.*\\)|\\1|\')"; if [ -z "${ssh_key_path}" ]; then echo "Could not find ssh key path for github.com">&2; false; elif [ -f "${ssh_key_path}" ]; then cat "${ssh_key_path}"; else echo "Could not find ssh key for github at ${ssh_key_path}" >&2; false; fi)" --build-arg SSH_PRIVATE_KEY_PASSPHRASE --tag $EXPECTED_REF .',
     5    deps = [
     6      './',
     7    ],
     8    ignore = [
     9      'LICENSE',
    10      'Makefile',
    11      'Readme',
    12      '.gitignore',
    13      '.dockerignore',
    14      'version'
    15    ]
    16  )