Schedule to 1am and use new build-push action.
Some checks failed
Build power-consumtion image / Build-and-release-image (push) Failing after 24s

This commit is contained in:
2025-04-30 07:59:21 +00:00
parent 86e5a4d2b8
commit 2a097e4f69

View File

@@ -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: