This commit is contained in:
parent
c4eab94ba9
commit
981bd90497
@ -3,11 +3,13 @@ steps:
|
|||||||
when:
|
when:
|
||||||
event: [push]
|
event: [push]
|
||||||
branch: [main]
|
branch: [main]
|
||||||
image: plugins/docker
|
image: gcr.io/kaniko-project/executor:latest
|
||||||
settings:
|
environment:
|
||||||
repo: elisha852/omegabasms
|
DOCKER_USERNAME:
|
||||||
tags: latest
|
|
||||||
username:
|
|
||||||
from_secret: DOCKER_USERNAME
|
from_secret: DOCKER_USERNAME
|
||||||
password:
|
DOCKER_PASSWORD:
|
||||||
from_secret: DOCKER_PASSWORD
|
from_secret: DOCKER_PASSWORD
|
||||||
|
commands:
|
||||||
|
- mkdir -p /kaniko/.docker
|
||||||
|
- echo "{\"auths\":{\"https://index.docker.io/v1/\":{\"username\":\"${DOCKER_USERNAME}\",\"password\":\"${DOCKER_PASSWORD}\"}}}" > /kaniko/.docker/config.json
|
||||||
|
- /kaniko/executor --context=/woodpecker/src --dockerfile=Dockerfile --destination=docker.io/elisha852/omegabasms:latest
|
||||||
|
|||||||
3
index.js
3
index.js
@ -174,7 +174,8 @@ async function startClient() {
|
|||||||
authStrategy: new LocalAuth(),
|
authStrategy: new LocalAuth(),
|
||||||
puppeteer: {
|
puppeteer: {
|
||||||
headless: true,
|
headless: true,
|
||||||
args: ['--no-sandbox', '--disable-setuid-sandbox']
|
args: ['--no-sandbox', '--disable-setuid-sandbox'],
|
||||||
|
protocolTimeout: 120000 // 2 minutes instead of default 30s
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user