18 lines
450 B
YAML
18 lines
450 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: build-and-push
|
|
|
|
steps:
|
|
- name: build
|
|
image: docker:27
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
commands:
|
|
- echo "Mast3rk4y88!" | docker login "http://192.168.100.202:5005" -u "ci" --password-stdin
|
|
- docker build -t http://192.168.100.202:5005/nextcloud-custom:latest .
|
|
- docker push http://192.168.100.202:5005/nextcloud-custom:latest
|
|
|
|
trigger:
|
|
branch:
|
|
- main
|