Schedule to 1am and use new build-push action.
Some checks failed
Build power-consumtion image / Build-and-release-image (push) Failing after 24s
Some checks failed
Build power-consumtion image / Build-and-release-image (push) Failing after 24s
This commit is contained in:
@@ -5,7 +5,7 @@ on:
|
|||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
schedule:
|
schedule:
|
||||||
# Run every Sunday at midnight
|
# Run every Sunday at midnight
|
||||||
- cron: '0 0 * * 0'
|
- cron: '1 0 * * 0'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
IMAGE: /home/power-consumption
|
IMAGE: /home/power-consumption
|
||||||
@@ -49,7 +49,7 @@ jobs:
|
|||||||
images: ${{ secrets.REGISTRY_URL }}${{ env.IMAGE }}
|
images: ${{ secrets.REGISTRY_URL }}${{ env.IMAGE }}
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v6
|
||||||
env:
|
env:
|
||||||
ACTIONS_RUNTIME_TOKEN: ''
|
ACTIONS_RUNTIME_TOKEN: ''
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user