Skip to content

Commit

Permalink
add schedule.cron and no-cache
Browse files Browse the repository at this point in the history
  • Loading branch information
magicxor committed Mar 23, 2024
1 parent f139c99 commit b285461
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ on:
push:
branches:
- master
schedule:
# every 1st day of every month
# see https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
- cron: '0 0 1 * *'


env:
DOCKER_REGISTRY: magicxor
Expand Down Expand Up @@ -41,6 +46,7 @@ jobs:
with:
push: true
context: .
no-cache: true
tags: |
${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_IMAGE }}:latest
${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_IMAGE }}:${{ steps.get_build_info.outputs.PACKAGE_VERSIONS }}
Expand Down

0 comments on commit b285461

Please sign in to comment.