xonsh/xonsh-github-action

Sponsored OSS

By xonsh project

Updated 12 days ago

Xonsh shell Github Actions container.

Image
Languages & frameworks
Integration & delivery
Developer tools
2

8.2K

xonsh/xonsh-github-action repository overview

xonsh for github actions

GitHub | Docker Hub

Xonsh (sounds like "consh") is a modern, full-featured and cross-platform Python-based shell. The language is a superset of Python 3 with seamless integration of shell functionality and commands. It works on all major systems including Linux, macOS, and Windows. Xonsh is meant for the daily use of experts and novices.

This container includes code to help with GitHub Actions. It automatically parses the input and configures GitHub API client libraries. PyGithub and gqlmod are supported (but not installed by default).

Additions

  • $GITHUB_EVENT: The parsed event payload
  • $INPUT: A dictionary of input values (the with block in the workflow config)
  • If PyGithub is installed, $GITHUB is the client object

The GitHub Token is looked for as GITHUB_TOKEN in the environment and inputs.

In addition, this container inherits from the main xonsh container and includes these:

  • /usr/bin/xpip: xpip usable from Dockerfiles/etc to enable installing Python packages into the xonsh environment. Doesn't require cleanup.
  • /usr/bin/xonsh: xonsh itself.

Tags

  • <version>/latest: Based on xonsh/python:3 (Debian Buster)
  • <version>-slim/slim: Based on xonsh:slim/python:3-slim (Debian Buster, slim variant)
  • <version>-alpine/alpine: Based on xonsh:alpine/python:3-alpine (Alpine Linux)

Tag summary

Content type

Image

Digest

sha256:0ed970dd2

Size

25.3 MB

Last updated

12 days ago

docker pull xonsh/xonsh-github-action:alpine

This week's pulls

Pulls:

387

Jun 29 to Jul 5