Skip to content

rearrage build schedule #7

rearrage build schedule

rearrage build schedule #7

Workflow file for this run

name: Docker Build and Push
on:
push:
branches:
- 'main'
schedule:
- cron: '12 3 5 * *' #At 03:12 on day-of-month 5
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and Push to Docker Hub
uses: docker/build-push-action@v5
with:
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/cling-jupyter:latest