add radian-verse-zsh #221
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and push | |
on: | |
schedule: | |
- cron: '0 0 * * 1' | |
push: | |
paths: | |
- 'images/**' | |
- 'bakefiles/**' | |
- '**.yml' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.8 | |
- uses: Gr1N/setup-poetry@v9 | |
- name: Cache Poetry virtualenv | |
uses: actions/cache@v3 | |
with: | |
path: ~/.cache/pypoetry/virtualenvs | |
key: ${{runner.os}}-poetry-${{hashFiles('**/poetry.lock')}} | |
restore-keys: | | |
${{runner.os}}-poetry- | |
- run: | | |
poetry --version | |
poetry install | |
poetry run python scripts/update.py | |
poetry run python scripts/generate_bake.py | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{secrets.DOCKER_USER}} | |
password: ${{secrets.DOCKER_PASSWORD}} | |
- name: Build and push Docker images | |
run: | | |
docker buildx bake -f bakefiles/bakefile.json --push radian | |
docker buildx bake -f bakefiles/bakefile.json --push radian-verse | |
docker buildx bake -f bakefiles/bakefile.json --push radian-verse-zsh | |
docker buildx bake -f bakefiles/bakefile.json --push cmdstan-verse | |
docker buildx bake -f bakefiles/bakefile.json --push cmdstan-verse-zsh |