This commit is contained in:
parent
7893747d66
commit
3429a122a5
1 changed files with 5 additions and 1 deletions
|
@ -4,13 +4,17 @@ when:
|
||||||
- event: manual
|
- event: manual
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: test tags
|
||||||
|
image: alpine
|
||||||
|
commands:
|
||||||
|
- echo "latest,${CI_COMMIT_SHA:0:8}"
|
||||||
- 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_SHORT_SHA#'v'}
|
tags: latest,${CI_COMMIT_SHA:0:8}
|
||||||
username:
|
username:
|
||||||
from_secret: GHCR_USER
|
from_secret: GHCR_USER
|
||||||
password:
|
password:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue