Skip to content

v3.0.2

Latest
Compare
Choose a tag to compare
@jaydrogers jaydrogers released this 14 Jan 19:05

🤩 What's new

  • Added SPIN_RUN_AS_USER which stores the whoami 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