Skip to content

UPDATE

UPDATE #35

Workflow file for this run

name: "UPDATE"
on:
schedule:
- cron: "0 13 * * 1"
workflow_dispatch:
jobs:
update-check:
runs-on: self-hosted
environment: 'dev'
outputs:
image-needs-updating: ${{ steps.check.outputs.needs-updating }}
steps:
- name: Docker Image Update Checker
id: check
uses: lucacome/docker-image-update-checker@v1
with:
base-image: library/python:slim
image: clickbg/miiocli:latest
cicd:
needs: update-check
if: ${{ needs.update-check.outputs.image-needs-updating == 'true' }}
uses: clickbg/miiocli/.github/workflows/cicd.yaml@main
publish:
needs: cicd
uses: clickbg/miiocli/.github/workflows/publish.yaml@main
with:
environment: prod
secrets:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}