Skip to content

ci-build-images

ci-build-images #14

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: '17 3 * * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push images
run: ./rebuild.py
- name: Sync description — xonsh/xonsh
uses: peter-evans/dockerhub-description@v4
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@v4
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@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: xonsh/xonsh-github-action
readme-filepath: ./containers/xonsh/github-action/README.md