infra/.forgejo/workflows/render-servo.yml

25 lines
703 B
YAML
Raw Normal View History

2024-08-01 10:02:10 +01:00
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