Skip to content

Commit

Permalink
Build container on master with cron (#232)
Browse files Browse the repository at this point in the history
* Build a new container for master every week

* Rename container images to match docs
  • Loading branch information
FSchumacher authored Oct 9, 2023
1 parent ff073f9 commit 9a9c155
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ghcr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
tags: ['*']
pull_request:
branches: ['master']
schedule:
- cron: '42 6 * * SUN'

env:
REGISTRY: ghcr.io
Expand All @@ -21,10 +23,10 @@ jobs:
include:
- context: .
dockerfile: Dockerfile.api
image: ghcr.io/${{ github.repository }}-api
image: ghcr.io/${{ github.repository }}/api
- context: .
dockerfile: Dockerfile.ui
image: ghcr.io/${{ github.repository }}-ui
image: ghcr.io/${{ github.repository }}/ui
permissions:
contents: read
packages: write
Expand Down

0 comments on commit 9a9c155

Please sign in to comment.