Compare commits

..

12 commits

Author SHA1 Message Date
Ell
e46a6b5130 fixed nextcloud-upload entrypoint 2023-07-17 22:30:19 +02:00
Ell
b358771165 fixed dockerfile 2023-07-17 19:38:34 +02:00
Ell
07fd636cda this works locally, what is happening 2023-07-17 19:24:09 +02:00
Ell
7b97b3e734 fixed nextcloud upload dockerfile 2023-07-17 19:15:47 +02:00
Ell
54c83fcee0 only build for linux 2023-07-17 19:05:13 +02:00
Ell
46e700aba8 how do i force a run 2023-07-17 19:00:40 +02:00
Ell
01376c3c1e send help 2023-07-17 18:59:32 +02:00
Ell
9c72bdd7fd does this actually matter? 2023-07-17 18:57:15 +02:00
Ell
5b05009d3c bleh 2023-07-17 18:55:53 +02:00
Ell
9bac00e7b5 docker credentials 2023-07-17 18:54:51 +02:00
Ell
aa7ffce8c8 one workflow per plugin 2023-07-17 18:52:12 +02:00
Ell
9eafa329d9 added woodpecker workflow 2023-07-17 18:50:55 +02:00
3 changed files with 37 additions and 21 deletions

View file

@ -0,0 +1,15 @@
steps:
publish:
image: woodpeckerci/plugin-docker-buildx
settings:
repo: ellpeck/woodpecker-nextcloud-upload
dockerfile: nextcloud-upload/Dockerfile
platforms: linux/amd64, linux/arm/v7, linux/arm64/v8, linux/ppc64le, linux/riscv64
tags: latest, ${CI_COMMIT_SHA}
username: ellpeck
password:
from_secret: docker_token
when:
branch: main
event: push
path: "nextcloud-upload/*"

View file

@ -1,4 +1,5 @@
FROM node:latest FROM --platform=$BUILDPLATFORM node:latest
ADD . / ADD nextcloud-upload /bin
WORKDIR /bin
RUN npm install RUN npm install
ENTRYPOINT ["node", "/run.js"] ENTRYPOINT ["node", "/bin/run.js"]

View file

@ -169,15 +169,15 @@
} }
}, },
"node_modules/glob": { "node_modules/glob": {
"version": "10.3.1", "version": "10.3.3",
"resolved": "https://registry.npmjs.org/glob/-/glob-10.3.1.tgz", "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.3.tgz",
"integrity": "sha512-9BKYcEeIs7QwlCYs+Y3GBvqAMISufUS0i2ELd11zpZjxI5V9iyRj0HgzB5/cLf2NY4vcYBTYzJ7GIui7j/4DOw==", "integrity": "sha512-92vPiMb/iqpmEgsOoIDvTjc50wf9CCCvMzsi6W0JLPeUKE8TWP1a73PgqSrqy7iAZxaSD1YdzU7QZR5LF51MJw==",
"dependencies": { "dependencies": {
"foreground-child": "^3.1.0", "foreground-child": "^3.1.0",
"jackspeak": "^2.0.3", "jackspeak": "^2.0.3",
"minimatch": "^9.0.1", "minimatch": "^9.0.1",
"minipass": "^5.0.0 || ^6.0.2", "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0",
"path-scurry": "^1.10.0" "path-scurry": "^1.10.1"
}, },
"bin": { "bin": {
"glob": "dist/cjs/src/bin.js" "glob": "dist/cjs/src/bin.js"
@ -271,9 +271,9 @@
} }
}, },
"node_modules/minimatch": { "node_modules/minimatch": {
"version": "9.0.2", "version": "9.0.3",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.2.tgz", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz",
"integrity": "sha512-PZOT9g5v2ojiTL7r1xF6plNHLtOeTpSlDI007As2NlA2aYBMfVom17yqa6QzhmDP8QOhn7LjHTg7DFCVSSa6yg==", "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==",
"dependencies": { "dependencies": {
"brace-expansion": "^2.0.1" "brace-expansion": "^2.0.1"
}, },
@ -285,9 +285,9 @@
} }
}, },
"node_modules/minipass": { "node_modules/minipass": {
"version": "6.0.2", "version": "7.0.2",
"resolved": "https://registry.npmjs.org/minipass/-/minipass-6.0.2.tgz", "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.2.tgz",
"integrity": "sha512-MzWSV5nYVT7mVyWCwn2o7JH13w2TBRmmSqSRCKzTw+lmft9X4z+3wjvs06Tzijo5z4W/kahUCDpRXTF+ZrmF/w==", "integrity": "sha512-eL79dXrE1q9dBbDCLg7xfn/vl7MS4F1gvJAgjJrQli/jbQWdUttuVawphqpffoIYfRdq78LHx6GP4bU/EQ2ATA==",
"engines": { "engines": {
"node": ">=16 || 14 >=14.17" "node": ">=16 || 14 >=14.17"
} }
@ -298,9 +298,9 @@
"integrity": "sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ==" "integrity": "sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ=="
}, },
"node_modules/nextcloud-chunk-file-upload": { "node_modules/nextcloud-chunk-file-upload": {
"version": "1.1.1", "version": "1.2.0",
"resolved": "https://registry.npmjs.org/nextcloud-chunk-file-upload/-/nextcloud-chunk-file-upload-1.1.1.tgz", "resolved": "https://registry.npmjs.org/nextcloud-chunk-file-upload/-/nextcloud-chunk-file-upload-1.2.0.tgz",
"integrity": "sha512-UZjxiuLOpTaINtNTV5Qd80q818BiC/RTuqkUIzh3QQiCLUgNild08Q+WUygoFkm+ZPaIEeW72WLhUOwZeY6NxA==", "integrity": "sha512-C0vyCi2WV7B6mfwsYnIpqbKqSFHZSs9KxRdGFik4ey9Zm9YBtMqYAOT1Pkm/+ZUg4N0TdMuvFcAr5GgYqWcRvQ==",
"dependencies": { "dependencies": {
"axios": "^0.24.0" "axios": "^0.24.0"
} }
@ -324,12 +324,12 @@
} }
}, },
"node_modules/path-scurry": { "node_modules/path-scurry": {
"version": "1.10.0", "version": "1.10.1",
"resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.0.tgz", "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.1.tgz",
"integrity": "sha512-tZFEaRQbMLjwrsmidsGJ6wDMv0iazJWk6SfIKnY4Xru8auXgmJkOBa5DUbYFcFD2Rzk2+KDlIiF0GVXNCbgC7g==", "integrity": "sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==",
"dependencies": { "dependencies": {
"lru-cache": "^9.1.1 || ^10.0.0", "lru-cache": "^9.1.1 || ^10.0.0",
"minipass": "^5.0.0 || ^6.0.2" "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0"
}, },
"engines": { "engines": {
"node": ">=16 || 14 >=14.17" "node": ">=16 || 14 >=14.17"