infra/.forgejo/workflows/render-servo.yml
Gabriel Simmer b40c48b020
Some checks failed
Build Servo Image / build (push) Failing after 29s
CI for building Servo docker image
2024-08-01 11:39:12 +01:00

27 lines
811 B
YAML

name: Build Servo Image
on:
schedule:
- cron: "0 1 * * *"
push:
paths:
- 'dockerfiles/Dockerfile.servo'
- '.forgejo/workflows/render-servo.yml'
jobs:
build:
runs-on: vancouver
steps:
- name: Checkout code
uses: actions/checkout@v3.5.3
with:
ref: trunk
- name: Login to Registry
uses: https://github.com/docker/login-action@v3
with:
registry: git.gmem.ca/arch
username: arch
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Set up Docker Buildx
uses: https://github.com/docker/setup-buildx-action@v3
- name: Docker Build
run: docker build . -f dockerfiles/Dockerfile.servo -t git.gmem.ca/arch/servo:latest -t git.gmem.ca/arch/servo:$(date -I) --push --progress=plain