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
ci/woodpecker/push/build Pipeline was successful
Details
Reviewed-on: #3
This commit is contained in:
commit
df23c6360c
|
@ -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
|
||||
|
|
|
@ -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: []
|
||||
|
|
Loading…
Reference in New Issue