Skip to content

Commit

Permalink
ci: add push latest workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsquest committed Mar 4, 2025
1 parent d1fd4c2 commit e09e592
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/push_latest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: push_latest
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
push:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: pipx install pipenv
- uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pipenv'
- run: pipenv sync --dev
- run: pipenv run pytest -v
build:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
tags: tomsquest/docker-radicale:latest
push: false

0 comments on commit e09e592

Please sign in to comment.