Compare commits

..

No commits in common. "fb82c6d9b066c2903baa86542afd9718daa7c4c6" and "39d7113234dd85a2df1c765677c74f7256dde38d" have entirely different histories.

2 changed files with 9 additions and 25 deletions

View File

@ -11,31 +11,15 @@ steps:
- apk add --no-cache git nix --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing
- echo "system-features = nixos-test benchmark big-parallel uid-range kvm" > /etc/nix/nix.conf
- nix build --extra-experimental-features nix-command --extra-experimental-features flakes .#docker
- cp $(nix build --extra-experimental-features nix-command --extra-experimental-features flakes --print-out-paths .#docker) ./memejoin-rs.tar.gz
publish-image:
when:
event: tag
image: docker
secrets: [ forgejo_token ]
commands:
- docker login -u ${CI_REPO_OWNER} --password $FORGEJO_TOKEN git.spacegirl.nl
- docker image load --input memejoin-rs.tar.gz
- docker image tag memejoin-rs:${CI_COMMIT_TAG} git.spacegirl.nl/${CI_REPO}:${CI_COMMIT_TAG}
- docker image push git.spacegirl.nl/${CI_REPO}:${CI_COMMIT_TAG}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
# publish-image:
# when:
# event: tag
# image: git.spacegirl.nl/patrick/plugin-artifact:v0.1.1
# settings:
# tag: $CI_COMMIT_TAG
# user: patrick
# password:
# from_secret: forgejo_token
# repo: $CI_REPO
# image_tar: result
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock
image: git.spacegirl.nl/patrick/plugin-artifact
settings:
tag: $CI_COMMIT_TAG
user: patrick
password:
from_secret: forgejo_token
repo: $CI_REPO
image_tar: result

View File

@ -46,7 +46,7 @@
packages = with pkgs; flake-utils.lib.flattenTree rec {
default = rustPlatform.buildRustPackage rec {
name = "memejoin-rs";
version = "super_test";
version = "0.1.4_2-alpha";
src = self;
buildInputs = [ openssl.dev ];
nativeBuildInputs = [ local-rust pkg-config openssl openssl.dev cmake gcc libopus ];