🤩 What's new
- Added
SPIN_RUN_AS_USER
which stores thewhoami
output (helpful to use in your compose files if needed)
Example:
services:
ansible:
build:
context: .
dockerfile: Dockerfile
volumes:
- ".:/ansible"
- "${HOME}/.ssh:/ssh:ro"
- "./collections:/etc/ansible/collections"
environment:
CI_ENVIRONMENT_SLUG: "${CI_ENVIRONMENT_SLUG}"
PUID: "${SPIN_USER_ID}"
PGID: "${SPIN_GROUP_ID}"
RUN_AS_USER: "${SPIN_RUN_AS_USER}" # When run with Spin you can access this SPIN_RUN_AS_USER now
Full Changelog: v3.0.1...v3.0.2