Move images to separate repo
This commit is contained in:
+3
-59
@@ -3,12 +3,11 @@ stages:
|
||||
- build
|
||||
- push
|
||||
|
||||
default:
|
||||
tags:
|
||||
- nix
|
||||
|
||||
"Evaluate for builds":
|
||||
stage: eval
|
||||
tags:
|
||||
- kubernetes
|
||||
image: "$CI_REGISTRY/greg/ci-image/builder:latest"
|
||||
artifacts:
|
||||
paths:
|
||||
- gitlab-ci-continue.yml
|
||||
@@ -22,58 +21,3 @@ default:
|
||||
job: "Evaluate for builds"
|
||||
variables:
|
||||
PARENT_PIPELINE_ID: $CI_PIPELINE_ID
|
||||
|
||||
"Build image":
|
||||
stage: build
|
||||
tags:
|
||||
- kubernetes
|
||||
image: "$CI_REGISTRY_IMAGE/img-builder:latest"
|
||||
parallel: ¶llel
|
||||
matrix:
|
||||
- IMG:
|
||||
- img-bitwarden
|
||||
- img-immich
|
||||
- img-builder
|
||||
script:
|
||||
- nix build ".#${IMG}"
|
||||
- >-
|
||||
podman login
|
||||
-u "$CI_REGISTRY_USER"
|
||||
-p "$CI_REGISTRY_PASSWORD"
|
||||
"$CI_REGISTRY"
|
||||
- cp -r ~/.nix-profile/etc/containers /etc
|
||||
- podman load -i result
|
||||
- podman push "$CI_REGISTRY_IMAGE/${IMG}:latest"
|
||||
# "Build image":
|
||||
# stage: build
|
||||
# tags:
|
||||
# - kubernetes
|
||||
# image: "nixos/nix:latest"
|
||||
# parallel: ¶llel
|
||||
# matrix:
|
||||
# - IMG:
|
||||
# - img-bitwarden
|
||||
# - img-immich
|
||||
# - img-builder
|
||||
# script:
|
||||
# - nix --extra-experimental-features "nix-command flakes" build ".#${IMG}"
|
||||
# - cp -L result "${IMG}.tar.gz"
|
||||
# - >-
|
||||
# nix
|
||||
# --extra-experimental-features "nix-command flakes"
|
||||
# build "nixpkgs#podman"
|
||||
# --out-link podman
|
||||
# - >-
|
||||
# ./podman/bin/podman login
|
||||
# -u "$CI_REGISTRY_USER"
|
||||
# -p "$CI_REGISTRY_PASSWORD"
|
||||
# "$CI_REGISTRY"
|
||||
# - mkdir -p /etc/containers/
|
||||
# - |-
|
||||
# cat << EOF > /etc/containers/policy.json
|
||||
# {
|
||||
# "default": [{"type": "insecureAcceptAnything"}]
|
||||
# }
|
||||
# EOF
|
||||
# - ./podman/bin/podman load -i "${IMG}.tar.gz"
|
||||
# - ./podman/bin/podman push "$CI_REGISTRY/greg/nixos-config/${IMG}:latest"
|
||||
|
||||
Reference in New Issue
Block a user