Build Vue Images #154
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: Build Vue 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: Build Vue doc | |
uses: docker/[email protected] | |
with: | |
context: ./vue/ | |
push: true | |
tags: docworld/vue:latest, docworld/vue:3 | |
- name: Build Vue zh doc | |
uses: docker/[email protected] | |
with: | |
context: ./vue/ | |
push: true | |
build-args: | | |
repoName=vuejs-translations/docs-zh-cn | |
tags: docworld/vue:zh-latest, docworld/vue:zh-3 | |
- name: Build Vue2 doc | |
uses: docker/[email protected] | |
with: | |
context: ./vue/ | |
file: ./vue/Dockerfile.vue2 | |
push: true | |
tags: docworld/vue:2 | |
- name: Build Vue2 zh doc | |
uses: docker/[email protected] | |
with: | |
context: ./vue/ | |
file: ./vue/Dockerfile.vue2 | |
push: true | |
build-args: | | |
repoName=vuejs/v2.cn.vuejs.org | |
tags: docworld/vue:zh-2 | |
UpdateDockerDescription: | |
needs: [Build] | |
uses: ikrong/documents/.github/workflows/_updateDocker.yml@main | |
with: | |
repoName: vue | |
secrets: inherit |