Update buildAndPublish.yml
All checks were successful
ci/woodpecker/push/buildAndPublish Pipeline was successful
All checks were successful
ci/woodpecker/push/buildAndPublish Pipeline was successful
This commit is contained in:
parent
3429a122a5
commit
aa8bb6aaa6
1 changed files with 4 additions and 2 deletions
|
@ -7,14 +7,16 @@ steps:
|
||||||
- name: test tags
|
- name: test tags
|
||||||
image: alpine
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
- echo "latest,${CI_COMMIT_SHA:0:8}"
|
- echo "latest,${CI_COMMIT_SHA:0:7}"
|
||||||
- name: Build and publish
|
- name: Build and publish
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
repo: ghcr.io/codemicro/website
|
repo: ghcr.io/codemicro/website
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
tags: latest,${CI_COMMIT_SHA:0:8}
|
tags:
|
||||||
|
- latest
|
||||||
|
- ${CI_COMMIT_SHA:0:7}
|
||||||
username:
|
username:
|
||||||
from_secret: GHCR_USER
|
from_secret: GHCR_USER
|
||||||
password:
|
password:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue