diff --git a/.drone.yml b/.drone.yml index 23c18a0..4fce852 100644 --- a/.drone.yml +++ b/.drone.yml @@ -24,12 +24,12 @@ steps: # image: plugins/docker image: registry.sn48.zivili.ch/library/plugins-docker:24.0.0 environment: - # Use Buildx with registry cache backend for maximum performance - PLUGIN_BUILDX_OPTIONS: >- - --progress=plain - --cache-to=type=registry,ref=registry.sn48.zivili.ch/meow/playchoo-auth:buildcache,mode=max - --cache-from=type=registry,ref=registry.sn48.zivili.ch/meow/playchoo-auth:buildcache + # Enable BuildKit for cache mounts and inline cache + DOCKER_BUILDKIT: "1" settings: + build_args: + # Enable inline cache in built image + - BUILDKIT_INLINE_CACHE=1 dockerfile: Dockerfile context: . registry: registry.sn48.zivili.ch @@ -37,6 +37,8 @@ steps: tags: - "amd64-1.0.0" - "latest" + cache_from: + - "registry.sn48.zivili.ch/meow/playchoo-auth:latest" username: from_secret: PORTUS_USER password: diff --git a/package-lock.json b/package-lock.json index ffa7a73..0b3068b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "di-why": "^0.20.1", "express": "^5.1.0", "express-knifey": "^1.1.3", - "ioredis": "^5.8.1", + "ioredis": "^5.8.2", "swiss-army-knifey": "^1.36.4", "swissoid-back": "^2.3.1" }, @@ -831,9 +831,9 @@ "license": "ISC" }, "node_modules/ioredis": { - "version": "5.8.1", - "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-5.8.1.tgz", - "integrity": "sha512-Qho8TgIamqEPdgiMadJwzRMW3TudIg6vpg4YONokGDudy4eqRIJtDbVX72pfLBcWxvbn3qm/40TyGUObdW4tLQ==", + "version": "5.8.2", + "resolved": "https://registry.npmjs.org/ioredis/-/ioredis-5.8.2.tgz", + "integrity": "sha512-C6uC+kleiIMmjViJINWk80sOQw5lEzse1ZmvD+S/s8p8CWapftSaC+kocGTx6xrbrJ4WmYQGC08ffHLr6ToR6Q==", "license": "MIT", "dependencies": { "@ioredis/commands": "1.4.0", diff --git a/package.json b/package.json index d3e737a..f0443a1 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "di-why": "^0.20.1", "express": "^5.1.0", "express-knifey": "^1.1.3", - "ioredis": "^5.8.1", + "ioredis": "^5.8.2", "swiss-army-knifey": "^1.36.4", "swissoid-back": "^2.3.1" },