Klipper Container Build and Push #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Klipper Container Build and Push | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0 * * 0" # at 00.00 on Sunday | |
jobs: | |
login: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Build | |
run: docker build -f scripts/Dockerfile-build -t dangerklippers/klipper-build:latest . | |
- name: Push | |
run: docker push dangerklippers/klipper-build:latest |