Add .woodpecker/build.yaml
Some checks failed
Build and Push Astro Docker Image / build-and-push (push) Has been cancelled
Some checks failed
Build and Push Astro Docker Image / build-and-push (push) Has been cancelled
This commit is contained in:
28
.woodpecker/build.yaml
Normal file
28
.woodpecker/build.yaml
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
when:
|
||||||
|
- event: push
|
||||||
|
branch: main
|
||||||
|
|
||||||
|
clone:
|
||||||
|
git:
|
||||||
|
image: woodpeckerci/plugin-git
|
||||||
|
settings:
|
||||||
|
depth: 1
|
||||||
|
lfs: false
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build docker image
|
||||||
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
|
settings:
|
||||||
|
repo: git.infernonode.com/hotarublaze/homepage
|
||||||
|
registry: git.infernonode.com
|
||||||
|
tags: latest
|
||||||
|
|
||||||
|
cache_images:
|
||||||
|
- git.infernonode.com/hotarublaze/homepage:cache
|
||||||
|
|
||||||
|
username:
|
||||||
|
from_secret: docker_woodpecker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_woodpecker_pat
|
||||||
|
|
||||||
|
platforms: linux/amd64
|
||||||
Reference in New Issue
Block a user