Zaktualizuj '.woodpecker/.step1.yml'
ci/woodpecker/tag/step1 Pipeline failed Szczegóły
ci/woodpecker/tag/step2 unknown status Szczegóły

main
Mi Klo 2023-07-22 23:47:32 +00:00
rodzic a54e5a8dfb
commit 9ec8602766
1 zmienionych plików z 8 dodań i 0 usunięć

Wyświetl plik

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