dref/.gitea/workflows/build-docker.yml

21 lines
554 B
YAML
Raw Normal View History

2023-07-16 10:49:16 +01:00
name: Build Docker Image
on:
push:
branches:
- trunk
jobs:
arm-docker-build:
2023-07-17 22:23:23 +01:00
runs-on: debian-latest-arm
2023-07-16 10:49:16 +01:00
steps:
2023-07-17 22:23:23 +01:00
- name: Install Nix
uses: https://github.com/cachix/install-nix-action
2023-07-16 10:49:16 +01:00
- name: Check out repository
uses: https://github.com/RouxAntoine/checkout@v3.5.4
with:
ref: trunk
2023-07-17 22:23:23 +01:00
- name: Build image
run: nix build .#docker
- name: Push image with Skopeo
run: nix-shell -p skopeo --command "skopeo copy docker-archive:result docker://icr.gmem.ca/dref:arm"