Merge pull request 'Add publish step in the build workflow' (#3) from feat/build-docker-on-tag into main
ci/woodpecker/push/build Pipeline was successful Details

Reviewed-on: #3
This commit is contained in:
Aire-One 2024-08-24 14:01:31 +02:00
commit df23c6360c
2 changed files with 17 additions and 3 deletions

View File

@ -17,4 +17,18 @@ steps:
<<: *buildx_settings
dry_run: true
when:
event: pull_request
event: pull_request
publish:
image: *buildx
settings:
<<: *buildx_settings
registry: gitea.aireone.xyz
repo: gitea.aireone.xyz/${CI_REPO,,}
auto_tag: true
username:
from_secret: publish_username
password:
from_secret: publish_token
when:
event: tag

View File

@ -27,5 +27,5 @@ steps:
golangci-lint:
image: golangci/golangci-lint:v1.60.3
commands:
- golangci-lint run
depends_on: []
- golangci-lint run --timeout 15m
depends_on: []