Zaktualizuj '.woodpecker/.step1.yml'
rodzic
a54e5a8dfb
commit
9ec8602766
|
@ -2,6 +2,13 @@ when:
|
|||
event: tag
|
||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||
|
||||
services:
|
||||
ci-database:
|
||||
image: mysql
|
||||
environment:
|
||||
- MYSQL_DATABASE=test
|
||||
- MYSQL_ROOT_PASSWORD=example
|
||||
|
||||
steps:
|
||||
step1:
|
||||
# image: docker:cli
|
||||
|
@ -9,6 +16,7 @@ steps:
|
|||
image: quay.io/podman/stable
|
||||
secrets: [image_name]
|
||||
commands:
|
||||
- sleep 60s
|
||||
- ln -s /usr/bin/podman /usr/bin/docker
|
||||
- docker build ./subfolder -t $${IMAGE_NAME} -f ./subfolder/Dockerfile
|
||||
- docker run --rm $${IMAGE_NAME}
|
||||
|
|
Ładowanie…
Reference in New Issue