*: added snapcraft build configuration

This commit is contained in:
Andrey Meshkov
2020-04-21 16:25:29 +03:00
parent 7f224658e0
commit 0cb876a71c
4 changed files with 132 additions and 1 deletions

View File

@@ -118,4 +118,18 @@ matrix:
- docker login -u="$DOCKER_USER" -p="$DOCKER_PASSWORD"
- ./build_docker.sh
after_script:
- docker images
- docker images
# Snapcraft build configuration
- if: repo = AdguardTeam/AdGuardHome
- name: snapcraft
# if: type != pull_request AND (branch = master OR tag IS present) AND repo = AdguardTeam/AdGuardHome
if: branch = snapcraft
go:
- 1.14.x
os:
- linux
services:
- docker
script:
- ./build_snap.sh