Auto build this image second day of every month
This commit is contained in:
1 parent
96ce2a30c7
commit
da715d4c87
1 file changed
+3
-1
@@ -4,6 +4,8 @@ name: Build and Push Docker Image
|
||||
# This workflow is manually triggered from the "Actions" tab in GitHub.
|
||||
# It requires a single input: the version tag of the flood repository to use.
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 2 * *' # This runs at midnight on the first day of every month
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
@@ -30,4 +32,4 @@ jobs:
|
||||
docker build . -t ${{ env.IMAGE_NAME }}
|
||||
|
||||
- name: Push the Docker image
|
||||
run: docker push ${{ env.IMAGE_NAME }}
|
||||
run: docker push ${{ env.IMAGE_NAME }}
|
||||
Reference in new issue
Block a user