mediagoblin/.builds/debian-11-docker.yml
Ben Sturmfels 712728c331
Base our SourceHut CI builds on Docker.
This allows us to use an identical build in CI and in local development. Not the
most optimal for CI, but means less to maintain and no inconsistencies.
2021-08-23 17:43:01 +10:00

15 lines
370 B
YAML

image: alpine/3.14
packages:
# Using Docker for CI is less efficient, but means we can run identical builds
# in CI and in local development.
- docker
tasks:
- setup: |
sudo adduser $(whoami) docker
sudo service docker start
sleep 2
- build: |
cd mediagoblin
docker build -t mediagoblin-debian-11 - < Dockerfile-debian-11-sqlite