Skip to content

Base Image

Base Image #28

Workflow file for this run

name: Base Image
on:
# rebuild the base image each month on the 3rd at 5:17am
schedule:
- cron: '17 5 3 * *'
# or manually via button in UI
workflow_dispatch:
jobs:
base:
name: Create base image
runs-on: ubuntu-latest
steps:
- name: Setup QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: linux/amd64,linux/arm64/v8
- name: Setup buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout code
uses: actions/checkout@v4
with:
ref: master
- name: Build base image
uses: docker/build-push-action@v5
with:
file: ./.github/Dockerfile.base
platforms: linux/amd64,linux/arm64/v8
push: true
tags: ghcr.io/digineo/texd:base
context: .