To push container images to ghcr, you need peronal access token (PAT) - see how to create PAT
- Get PAT (personal access token)
Personal Settings > Developer settings > Personal access tokens
| # create dirs | |
| mkdir -p /data/{0..2} | |
| # mkfs xfs | |
| mkfs.xfs /dev/nvme0n1 | |
| mkfs.xfs /dev/nvme1n1 | |
| mkfs.xfs /dev/nvme2n1 | |
| # mount partition manually (optional) | |
| # mount /dev/nvme0n1 /data/0 |
| #!/usr/bin/env bash | |
| # * Download latest bfg bin from https://rtyley.github.io/bfg-repo-cleaner/ | |
| # * Copy somewhere in path (e.g., ~/.local/bin) | |
| SCRIPT_DIR=$(dirname "$(readlink -f "$0")") | |
| java -jar "${SCRIPT_DIR}/bfg-1.14.0.jar" "$@" |
| #!/usr/bin/env bash | |
| # shellcheck disable=SC2207 | |
| base_url="https://github.com/$user_name/$repo_name/releases" | |
| pkg_path=$(pwd) | |
| distro=$(uname) # Linux / Darwin | |
| arch=$(uname -m) # x86_64 / aarch64 / arm64 | |
| help() { |
| #!/usr/bin/env bash | |
| # shellcheck disable=SC2086 | |
| IFS="$(printf '\n\t')" | |
| trap 'unset IFS' INT HUP QUIT | |
| help() { | |
| cat <<- DESCRIPTION >&2 |
| repos.txt |
To push container images to ghcr, you need peronal access token (PAT) - see how to create PAT
Personal Settings > Developer settings > Personal access tokens
| #!/usr/bin/env bash | |
| # shellcheck disable=SC2034 | |
| cat <<- 'DESCRIPTION' >&2 > /dev/null | |
| Run Mojo with MOJO_PYTHON_LIBRARY set to the current python version | |
| installed by asdf | |
| INSTALL | |
| chmod +x mojo |
This documentation adds important additions to the docs for kamal deploy tool (see github.com/basecamp/kamal)
You can use kamal deploy --destination staging
This will read config/deploy.yml and config/deploy.staging.yml files, and also will read .env.staging file if it exists.