update to 5.4.2.7388
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
d7803e948c
commit
0092a76168
3 changed files with 27 additions and 23 deletions
36
.drone.yml
36
.drone.yml
|
@ -11,29 +11,33 @@ get:
|
|||
path: local
|
||||
name: password
|
||||
---
|
||||
kind: secret
|
||||
name: attic_url
|
||||
get:
|
||||
path: attic
|
||||
name: url
|
||||
---
|
||||
kind: secret
|
||||
name: attic_key
|
||||
get:
|
||||
path: attic
|
||||
name: key
|
||||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: publish
|
||||
steps:
|
||||
- name: tags
|
||||
image: docker.io/library/busybox
|
||||
- name: nixos
|
||||
image: docker.io/jcollie/nixos-runner:latest
|
||||
pull: always
|
||||
commands:
|
||||
- echo -n "latest,${DRONE_BUILD_NUMBER}-${DRONE_COMMIT_SHA:0:8}" > .tags
|
||||
- name: build
|
||||
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
|
||||
- nix --extra-substituters $PLUGIN_ATTIC_URL --extra-trusted-public-keys $PLUGIN_ATTIC_KEY build -L .#default
|
||||
- push-container result --repository media/radarr
|
||||
username:
|
||||
from_secret: local_username
|
||||
password:
|
||||
from_secret: local_password
|
||||
attic_url:
|
||||
from_secret: attic_url
|
||||
attic_key:
|
||||
from_secret: attic_key
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1676094287,
|
||||
"narHash": "sha256-z2gc84Hs9JmzmSmQ/n3Ano/uhYPS4uF8jZPcgKDTfb8=",
|
||||
"lastModified": 1685094109,
|
||||
"narHash": "sha256-u+awry81RAVV+fJBCZt+GKWsISSLJKUNbVwKccHeaPU=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "103fe0800b9d739c279997561c9da9d242d5b6b8",
|
||||
"rev": "551a52bfdd02e7b75be5faf9b42f864112d88654",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"id": "nixpkgs",
|
||||
"ref": "nixos-22.11",
|
||||
"ref": "nixos-23.05",
|
||||
"type": "indirect"
|
||||
}
|
||||
},
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
inputs = {
|
||||
nixpkgs = {
|
||||
url = "nixpkgs/nixos-22.11";
|
||||
url = "nixpkgs/nixos-23.05";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
|||
let
|
||||
system = "x86_64-linux";
|
||||
branch = "master";
|
||||
version = "4.3.2.6857";
|
||||
version = "4.5.2.7388";
|
||||
os = "linux";
|
||||
arch = "x64";
|
||||
pkgs = import nixpkgs {
|
||||
|
@ -25,7 +25,7 @@
|
|||
inherit version;
|
||||
src = builtins.fetchurl {
|
||||
url = "https://github.com/Radarr/Radarr/releases/download/v${version}/Radarr.${branch}.${version}.${os}-core-${arch}.tar.gz";
|
||||
sha256 = "sha256:0bxmyifn8q7sgf7y98lf2c4fva49c6m79is3h7l1a869y0g6irpc";
|
||||
sha256 = "sha256:1d0rslkcxv3a9d3clwq8j46ap29r5vk3bxgk6yfvsdjmpsbq94h4";
|
||||
};
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue