Update to use kaniko
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
elishadavidi 2026-05-28 20:30:45 +03:00
parent c4eab94ba9
commit 981bd90497
2 changed files with 10 additions and 7 deletions

View File

@ -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

View File

@ -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
} }
}); });