Download Latest Version v3.1.1 source code.tar.gz (8.3 MB)
Email in envelope

Get an email when there's a new version of Spin

Home / v3.0.2
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-01-14 736 Bytes
v3.0.2 source code.tar.gz 2025-01-14 8.3 MB
v3.0.2 source code.zip 2025-01-14 8.4 MB
Totals: 3 Items   16.7 MB 0

🤩 What's new

  • Added SPIN_RUN_AS_USER which stores the whoami output (helpful to use in your compose files if needed)

Example:

:::yml
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: https://github.com/serversideup/spin/compare/v3.0.1...v3.0.2

Source: README.md, updated 2025-01-14