minimock/.woodpecker.yaml

22 lines
415 B
YAML
Raw Normal View History

2024-09-13 18:07:48 +00:00
steps:
- name: build
image: golang:1.23
commands:
2024-09-13 20:27:05 +00:00
- CGO_ENABLED=0 go build ./
2024-09-13 18:07:48 +00:00
- name: docker
image: plugins/docker
depends_on: [ build ]
settings:
username: kekskurse
password:
from_secret: docker
repo: kekskurse/minimock
dockerfile: Dockerfile
tags:
- latest
- ${CI_COMMIT_SHA}
when:
event: push
branch: [main]