TeXLive #55
This file contains hidden or 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: TeXLive | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| # 每月1号的0:37分执行 (北京时间+8) | |
| - cron: "37 0 1 * *" | |
| # push: | |
| # branches: [main] | |
| # paths: | |
| # - 'texlive/Containerfile' | |
| # - 'texlive/texlive.profile' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Login to Docker Hub | |
| uses: docker/login-action@v3 | |
| with: | |
| username: ${{ vars.DOCKERHUB_USERNAME }} | |
| password: ${{ secrets.DOCKERHUB_TOKEN }} | |
| - name: Build image and Push | |
| run: | | |
| docker build --file ./texlive/Containerfile --tag chanzz0/texlive:latest ./texlive | |
| docker push chanzz0/texlive:latest | |
| # - name: Set up QEMU | |
| # uses: docker/setup-qemu-action@v3 | |
| # - name: Set up Docker Buildx | |
| # uses: docker/setup-buildx-action@v3 | |
| # - name: Push to Docker hub | |
| # uses: docker/build-push-action@v6 | |
| # with: | |
| # context: ./texlive | |
| # file: ./texlive/Containerfile | |
| # platforms: amd64 | |
| # push: true | |
| # tags: "chanzz0/texlive:latest" |