update to 5.4.2.7388
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Jeffrey C. Ollie 2023-05-28 13:46:02 -05:00
parent d7803e948c
commit 0092a76168
Signed by: jeff
GPG key ID: 6F86035A6D97044E
3 changed files with 27 additions and 23 deletions

View file

@ -11,29 +11,33 @@ get:
path: local path: local
name: password name: password
--- ---
kind: secret
name: attic_url
get:
path: attic
name: url
---
kind: secret
name: attic_key
get:
path: attic
name: key
---
kind: pipeline kind: pipeline
type: kubernetes type: kubernetes
name: publish name: publish
steps: steps:
- name: tags - name: nixos
image: docker.io/library/busybox image: docker.io/jcollie/nixos-runner:latest
pull: always pull: always
commands: commands:
- echo -n "latest,${DRONE_BUILD_NUMBER}-${DRONE_COMMIT_SHA:0:8}" > .tags - nix --extra-substituters $PLUGIN_ATTIC_URL --extra-trusted-public-keys $PLUGIN_ATTIC_KEY build -L .#default
- name: build - push-container result --repository media/radarr
image: docker.io/nixos/nix
pull: always
commands:
- nix --experimental-features "nix-command flakes" build .#
- cp result docker-image.tar.gz
- name: push
image: docker.io/allgreed/drone-load-and-store
pull: always
settings:
archive: docker-image.tar.gz
repo: media/radarr
registry: r.ocj.io
username: username:
from_secret: local_username from_secret: local_username
password: password:
from_secret: local_password from_secret: local_password
attic_url:
from_secret: attic_url
attic_key:
from_secret: attic_key

View file

@ -2,16 +2,16 @@
"nodes": { "nodes": {
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1676094287, "lastModified": 1685094109,
"narHash": "sha256-z2gc84Hs9JmzmSmQ/n3Ano/uhYPS4uF8jZPcgKDTfb8=", "narHash": "sha256-u+awry81RAVV+fJBCZt+GKWsISSLJKUNbVwKccHeaPU=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "103fe0800b9d739c279997561c9da9d242d5b6b8", "rev": "551a52bfdd02e7b75be5faf9b42f864112d88654",
"type": "github" "type": "github"
}, },
"original": { "original": {
"id": "nixpkgs", "id": "nixpkgs",
"ref": "nixos-22.11", "ref": "nixos-23.05",
"type": "indirect" "type": "indirect"
} }
}, },

View file

@ -3,7 +3,7 @@
inputs = { inputs = {
nixpkgs = { nixpkgs = {
url = "nixpkgs/nixos-22.11"; url = "nixpkgs/nixos-23.05";
}; };
}; };
@ -11,7 +11,7 @@
let let
system = "x86_64-linux"; system = "x86_64-linux";
branch = "master"; branch = "master";
version = "4.3.2.6857"; version = "4.5.2.7388";
os = "linux"; os = "linux";
arch = "x64"; arch = "x64";
pkgs = import nixpkgs { pkgs = import nixpkgs {
@ -25,7 +25,7 @@
inherit version; inherit version;
src = builtins.fetchurl { src = builtins.fetchurl {
url = "https://github.com/Radarr/Radarr/releases/download/v${version}/Radarr.${branch}.${version}.${os}-core-${arch}.tar.gz"; url = "https://github.com/Radarr/Radarr/releases/download/v${version}/Radarr.${branch}.${version}.${os}-core-${arch}.tar.gz";
sha256 = "sha256:0bxmyifn8q7sgf7y98lf2c4fva49c6m79is3h7l1a869y0g6irpc"; sha256 = "sha256:1d0rslkcxv3a9d3clwq8j46ap29r5vk3bxgk6yfvsdjmpsbq94h4";
}; };
}); });
} }