minimock/.woodpecker.yaml

23 lines
423 B
YAML
Raw Normal View History

2024-09-13 18:07:48 +00:00
steps:
- name: build
image: golang:1.23
commands:
- go test ./...
- go build ./
- 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]