minimock/.woodpecker.yaml
kekskurse 3dbc29055f
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci
2024-09-13 20:16:21 +02:00

23 lines
439 B
YAML

steps:
- name: build
image: golang:1.23
commands:
- go test ./...
- go build ./
- ls -lah
- 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]