1
1
This commit is contained in:
parent
7db99e0fa6
commit
f433482dcd
6 changed files with 125 additions and 78 deletions
|
@ -5,8 +5,58 @@ when:
|
|||
branch: main
|
||||
path: [.woodpecker/build.yaml, Dockerfile, Dockerfile.dockerignore, entrypoint.sh]
|
||||
|
||||
services:
|
||||
- name: dockerd
|
||||
image: kokuwaio/dockerd:dev
|
||||
ports: [2375]
|
||||
privileged: true
|
||||
pull: true
|
||||
|
||||
steps:
|
||||
|
||||
info:
|
||||
image: kokuwaio/docker-cli
|
||||
commands: docker info
|
||||
depends_on: []
|
||||
environment:
|
||||
DOCKER_HOST: tcp://dockerd:2375
|
||||
info2:
|
||||
image: kokuwaio/docker-cli
|
||||
depends_on: []
|
||||
commands: docker info
|
||||
info3:
|
||||
image: realworld/telnet
|
||||
depends_on: []
|
||||
commands: telnet dockerd 2375
|
||||
info4:
|
||||
image: arunvelsriram/utils
|
||||
depends_on: []
|
||||
commands: nslookup dockerd
|
||||
info6:
|
||||
image: bash
|
||||
depends_on: []
|
||||
commands: cat /etc/hosts
|
||||
info-sleep:
|
||||
image: bash
|
||||
depends_on: []
|
||||
commands: sleep 300
|
||||
info6:
|
||||
image: bash
|
||||
depends_on: []
|
||||
commands: env|sort
|
||||
info5:
|
||||
image: bash
|
||||
depends_on: []
|
||||
commands: env|sort
|
||||
image:
|
||||
image: kokuwaio/docker-cli
|
||||
depends_on: []
|
||||
commands: docker build . --tag=ghcr.io/inoa-io/inoa:snapshot
|
||||
--cache-from=type=registry,ref=ghcr.io/inoa-io/inoa:cache
|
||||
--build-arg=MAVEN_MIRROR_CENTRAL
|
||||
--build-arg=YARN_NPM_REGISTRY_SERVER
|
||||
--build-arg=YARN_UNSAFE_HTTP_WHITELIST
|
||||
|
||||
build:
|
||||
image: kokuwaio/buildctl
|
||||
settings: &settings
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue