Compare commits
2 commits
b0cdbece9c
...
7f9fd7a955
Author | SHA1 | Date | |
---|---|---|---|
7f9fd7a955 | |||
884e1d009c |
1 changed files with 8 additions and 10 deletions
|
@ -2,15 +2,13 @@ when:
|
||||||
branch: build
|
branch: build
|
||||||
event: manual
|
event: manual
|
||||||
|
|
||||||
services:
|
|
||||||
- name: dind
|
|
||||||
image: docker:dind
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Build and publish
|
- name: Build and publish
|
||||||
image: docker
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
environment:
|
settings:
|
||||||
IMAGE_NAME: "ghcr.io/codemicro/website"
|
repo: ghcr.io/codemicro/website
|
||||||
commands:
|
registry: ghcr.io
|
||||||
- docker build . --tag ${IMAGE_NAME}:latest --tag ${IMAGE_NAME}:${CI_COMMIT_SHORT_SHA#'v'}
|
platforms: linux/amd64
|
||||||
- "docker push --all-tags $IMAGE_NAME"
|
tags:
|
||||||
|
- latest
|
||||||
|
- "${CI_COMMIT_SHORT_SHA#'v'}"
|
Loading…
Add table
Add a link
Reference in a new issue