fix woodpecker file
This commit is contained in:
@@ -6,16 +6,11 @@
|
|||||||
# This config also shows usage of yaml aliases and
|
# This config also shows usage of yaml aliases and
|
||||||
# was taken from https://codeberg.org/6543/docker-images/src/commit/37e29c227717c1c07d2776cddcf14725bf952875/.woodpecker/hello.yml
|
# was taken from https://codeberg.org/6543/docker-images/src/commit/37e29c227717c1c07d2776cddcf14725bf952875/.woodpecker/hello.yml
|
||||||
|
|
||||||
when:
|
|
||||||
branch: main
|
|
||||||
event: [push]
|
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
- &file Dockerfile
|
- &file Dockerfile
|
||||||
- &repo 192.168.1.230:5000/bertomlab/crawlflix/front
|
- &repo 192.168.1.230:5000/bertomlab/crawlflix/front
|
||||||
|
|
||||||
steps:
|
publish:
|
||||||
publish:
|
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
dockerfile: *file
|
dockerfile: *file
|
||||||
@@ -29,3 +24,6 @@ steps:
|
|||||||
from_secret: docker_registry_username
|
from_secret: docker_registry_username
|
||||||
password:
|
password:
|
||||||
from_secret: docker_registry_password
|
from_secret: docker_registry_password
|
||||||
|
when:
|
||||||
|
branch: main
|
||||||
|
event: [push]
|
||||||
Reference in New Issue
Block a user