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

25 lines
703 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: Docker Build
run: docker buildx build . -f dockerfiles/Dockerfile.servo -t git.gmem.ca/arch/servo:latest -t git.gmem.ca/arch/servo:$(date -I) --push