use latest binaries
This commit is contained in:
parent
cc3caa58b6
commit
8d8307d768
3 changed files with 39 additions and 14 deletions
31
.woodpecker/.build-image.yaml
Normal file
31
.woodpecker/.build-image.yaml
Normal file
|
@ -0,0 +1,31 @@
|
|||
variables:
|
||||
- &HUGO_VERSION=0.115.3
|
||||
|
||||
steps:
|
||||
build-and-push:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
registry: code.cozy.town
|
||||
username:
|
||||
from_secret: registry_username
|
||||
password:
|
||||
from_secret: registry_token
|
||||
repo: code.cozy.town/vrifox/hugoci
|
||||
tags:
|
||||
- latest
|
||||
- ${HUGO_VERSION}
|
||||
cache_from: code.cozy.town/vrifox/hugoci:latest
|
||||
build_args:
|
||||
- HUGO_VERSION: ${HUGO_VERSION}
|
||||
when:
|
||||
branch: [ main ]
|
||||
|
||||
build-and-push-test:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
dry-run: true
|
||||
build_args:
|
||||
- HUGO_VERSION: ${HUGO_VERSION}
|
||||
when:
|
||||
branch:
|
||||
exclude: [ main ]
|
Loading…
Add table
Add a link
Reference in a new issue