Skip to content

Build Echarts Images #142

Build Echarts Images

Build Echarts Images #142

Workflow file for this run

name: Build Echarts Images
on:
schedule:
- cron: "0 22 * * *"
workflow_dispatch:
jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to docker.io
uses: docker/login-action@v2
with:
registry: docker.io
username: docworld
password: ${{ secrets.DOCKER_TOKEN }}
- name: Get version
uses: ikrong/[email protected]
with:
function: fetch
params: '["https://api.github.com/repos/apache/echarts/releases/latest","get",["tag_name"]]'
- name: Build echarts doc
uses: docker/[email protected]
with:
context: ./echarts/
push: true
tags: docworld/echarts:latest, docworld/echarts:${{ env.tag_name }}
UpdateDockerDescription:
needs: [Build]
uses: ikrong/documents/.github/workflows/_updateDocker.yml@main
with:
repoName: echarts
secrets: inherit