# ci-fleet-publish plugin image (oleks/ci-scripts#14).
#
# Base: the existing nixos-ci toolchain image (nix, docker-buildx,
# attic-client, nixos-ci-entrypoint already baked in — see
# ~/projects/nix-customs/nixos-ci). This image adds only the plugin
# entrypoint on top.
FROM git.oleks.space/oleks/nix-ci:latest

COPY entrypoint.sh /usr/local/bin/ci-fleet-publish-entrypoint
RUN chmod +x /usr/local/bin/ci-fleet-publish-entrypoint

ENTRYPOINT ["/usr/local/bin/ci-fleet-publish-entrypoint"]
