Files
ip-svc/.gitea/workflows/release.yaml
T
mans 01323d4a65
Build docker container / Build image (push) Failing after 6m23s
Reproducible Nix env
2026-08-05 13:35:14 +02:00

31 lines
754 B
YAML

name: Build docker container
on:
push:
branches:
- main
jobs:
build:
name: Build image
runs-on: ubuntu-latest
container: ghcr.io/catthehacker/ubuntu:act-latest
env:
IMAGE_NAME: ip-svc
REGISTRY: git.mziesel.nl
REPO_OWNER: mans
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: git.mziesel.nl
username: ${{ secrets.LOGIN_USER }}
password: ${{ secrets.LOGIN_PASS }}
- name: Install Nix
uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-26.05
- name: Build and push
run: nix run .#build-and-push