Skip to content

ci-build-images

ci-build-images #76

Workflow file for this run

name: ci-build-images
on:
push:
branches: [main]
schedule:
# Rebuild daily to pick up new xonsh releases from PyPI
- cron: '42 3 * * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: xonsh/actions@v2
with:
python-version: '3.12'
- name: Set up QEMU
uses: docker/setup-qemu-action@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
- name: Log in to Docker Hub
uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push images
run: xonsh ./rebuild.xsh
- name: Sync description — xonsh/xonsh
uses: peter-evans/dockerhub-description@v5
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: xonsh/xonsh
readme-filepath: ./containers/xonsh/README.md
- name: Sync description — xonsh/xonsh-interactive
uses: peter-evans/dockerhub-description@v5
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: xonsh/xonsh-interactive
readme-filepath: ./containers/xonsh/interactive/README.md
- name: Sync description — xonsh/xonsh-github-action
uses: peter-evans/dockerhub-description@v5
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: xonsh/xonsh-github-action
readme-filepath: ./containers/xonsh/github-action/README.md