Revert "Switch to woodpecker"

This commit is contained in:
Matthew Cengia 2023-07-06 10:34:05 +10:00 committed by GitHub
parent b6ac0beb9e
commit 64da7b252c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 17 deletions

23
.drone.yml Normal file
View File

@ -0,0 +1,23 @@
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

View File

@ -1,17 +0,0 @@
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