Skip to content

Merge pull request #148 from Paperist/renovate/actions-checkout-4.x #136

Merge pull request #148 from Paperist/renovate/actions-checkout-4.x

Merge pull request #148 from Paperist/renovate/actions-checkout-4.x #136

Workflow file for this run

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@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Login to DockerHub
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v3.1.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v3.1.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@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Login to DockerHub
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v3.1.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to GitHub Container Registry
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20 # v3.1.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