diff --git a/.woodpecker.yml b/.woodpecker.yml index a1cfe5e..902b030 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,18 +1,12 @@ pipeline: - deploy: - image: docker.io/alpine:3.14 - environment: - - STORAGE_DRIVER=vfs - commands: - - apk add buildah - - buildah version - - buildah login -u sutty -p $${REGISTRY_PASSWORD} registry.nulo.in/sutty/haini.sh - - buildah build -t latest . - - buildah images - - buildah push registry.nulo.in/sutty/haini.sh:latest - - buildah logout registry.nulo.in + publish: + image: plugins/docker + repo: registry.nulo.in/sutty/haini.sh + tags: latest + dockerfile: Containerfile + username: sutty secrets: - - registry_password + - docker_password when: - event: push branch: container-ci + event: push