Skip to content

Daily Image Building Script Execution #133

Daily Image Building Script Execution

Daily Image Building Script Execution #133

Workflow file for this run

name: Daily Image Building Script Execution
on:
workflow_dispatch:
schedule:
# Runs daily at 1:00 AM, Beijing time.
- cron: '0 17 * * *' # This is UTC time
jobs:
build_image:
runs-on: self-hosted
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build the docker image
run: cd docker && bash ./build_docker.sh
env:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
OSS_AK_ID: ${{ secrets.OSS_AK_ID }}
OSS_AK_SECRET: ${{ secrets.OSS_AK_SECRET }}
OSS_ENDPOINT: ${{ secrets.OSS_ENDPOINT }}