Dodanie '.woodpecker.yml'
rodzic
e69ba8c53a
commit
7ce48a0c35
|
@ -0,0 +1,21 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: build-and-push
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- push
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: docker
|
||||
commands:
|
||||
- docker build -t forge.citizen4.eu/miklo/ci-test:${CI_COMMIT_SHA} .
|
||||
|
||||
- name: push
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: forge.citizen4.eu
|
||||
repo: ${CI_REPO}
|
||||
tags: ${CI_COMMIT_SHA}
|
||||
secrets: [docker_username, docker_password]
|
Ładowanie…
Reference in New Issue