Merge pull request #246 from Paperist/renovate/actions-upload-artifac… #251
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: Build latest | |
| on: | |
| schedule: | |
| - cron: '0 22 2 * *' | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build-alpine: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - name: Login to DockerHub | |
| uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0 | |
| with: | |
| username: ${{ secrets.DOCKERHUB_USERNAME }} | |
| password: ${{ secrets.DOCKERHUB_TOKEN }} | |
| - name: Login to GitHub Container Registry | |
| uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build Docker image | |
| uses: ./.github/actions/build/ | |
| with: | |
| context: ./alpine/ | |
| push: true | |
| tags: | | |
| paperist/alpine-texlive-ja:latest | |
| ghcr.io/paperist/alpine-texlive-ja:latest | |
| paperist/texlive-ja:alpine | |
| ghcr.io/paperist/texlive-ja:alpine | |
| build-debian: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - name: Login to DockerHub | |
| uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0 | |
| with: | |
| username: ${{ secrets.DOCKERHUB_USERNAME }} | |
| password: ${{ secrets.DOCKERHUB_TOKEN }} | |
| - name: Login to GitHub Container Registry | |
| uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build Docker image | |
| uses: ./.github/actions/build/ | |
| with: | |
| context: ./debian/ | |
| platforms: linux/amd64,linux/arm64 | |
| push: true | |
| tags: | | |
| paperist/texlive-ja:latest | |
| ghcr.io/paperist/texlive-ja:latest | |
| paperist/texlive-ja:debian | |
| ghcr.io/paperist/texlive-ja:debian |