Merge pull request #7 from mattcen/switch-to-woodpecker
ci/woodpecker/push/woodpecker Pipeline failed Details

Switch to woodpecker
This commit is contained in:
Matt Cengia 2023-07-05 16:05:56 -07:00 committed by GitHub
commit b6ac0beb9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 23 deletions

View File

@ -1,23 +0,0 @@
kind: pipeline
type: docker
name: default
steps:
- name: Publish Container Image
image: plugins/docker
settings:
# Replace this with your own Git host
registry: git.mattcen.com
username: $DRONE_REPO_OWNER
password:
from_secret: DOCKER_PASSWORD
# Replace this with your own Git host
repo: git.mattcen.com/${DRONE_REPO}
context: django/
dockerfile: django/Dockerfile
# Replace this with your own Git host
cache_from: git.mattcen.com/${DRONE_REPO}
trigger:
branch:
- main

17
.woodpecker.yml Normal file
View File

@ -0,0 +1,17 @@
pipeline:
publish-container-image:
image: woodpeckerci/plugin-docker-buildx
settings:
username: ${CI_REPO_OWNER}
password:
from_secret: DOCKER_PASSWORD
# Replace this with your own Git host
repo: git.mattcen.com/${DRONE_REPO}
context: django/
dockerfile: django/Dockerfile
platforms: linux/amd64,linux/arm64/v8
# Replace this with your own Git host
cache_from: git.mattcen.com/${DRONE_REPO}
when:
branch: ${CI_REPO_DEFAULT_BRANCH}
event: push