Merge remote-tracking branch 'origin/master' into develop

pull/143/head
Aloïs Micard 3 years ago
commit f9b8dad298
No known key found for this signature in database
GPG Key ID: 1A0EB82F071F5EFE

@ -17,6 +17,12 @@ jobs:
with:
go-version: 1.14
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:

@ -9,6 +9,8 @@ builds:
- linux
goarch:
- amd64
env:
- CGO_ENABLED=0
- id: bs-configapi
main: ./cmd/bs-configapi/bs-configapi.go
binary: bs-configapi
@ -16,6 +18,8 @@ builds:
- linux
goarch:
- amd64
env:
- CGO_ENABLED=0
- id: bs-crawler
main: ./cmd/bs-crawler/bs-crawler.go
binary: bs-crawler
@ -23,6 +27,8 @@ builds:
- linux
goarch:
- amd64
env:
- CGO_ENABLED=0
- id: bs-indexer
main: ./cmd/bs-indexer/bs-indexer.go
binary: bs-indexer
@ -30,6 +36,8 @@ builds:
- linux
goarch:
- amd64
env:
- CGO_ENABLED=0
- id: bs-scheduler
main: ./cmd/bs-scheduler/bs-scheduler.go
binary: bs-scheduler
@ -37,11 +45,11 @@ builds:
- linux
goarch:
- amd64
env:
- CGO_ENABLED=0
dockers:
- goos: linux
goarch: amd64
binaries:
- bs-blacklister
image_templates:
- "creekorful/bs-blacklister:latest"
- "creekorful/bs-blacklister:{{ replace .Tag \"v\" \"\" }}"
@ -50,8 +58,6 @@ dockers:
dockerfile: build/docker/Dockerfile.blacklister
- goos: linux
goarch: amd64
binaries:
- bs-configapi
image_templates:
- "creekorful/bs-configapi:latest"
- "creekorful/bs-configapi:{{ replace .Tag \"v\" \"\" }}"
@ -60,8 +66,6 @@ dockers:
dockerfile: build/docker/Dockerfile.configapi
- goos: linux
goarch: amd64
binaries:
- bs-crawler
image_templates:
- "creekorful/bs-crawler:latest"
- "creekorful/bs-crawler:{{ replace .Tag \"v\" \"\" }}"
@ -70,8 +74,6 @@ dockers:
dockerfile: build/docker/Dockerfile.crawler
- goos: linux
goarch: amd64
binaries:
- bs-indexer
image_templates:
- "creekorful/bs-indexer:latest"
- "creekorful/bs-indexer:{{ replace .Tag \"v\" \"\" }}"
@ -80,8 +82,6 @@ dockers:
dockerfile: build/docker/Dockerfile.indexer
- goos: linux
goarch: amd64
binaries:
- bs-scheduler
image_templates:
- "creekorful/bs-scheduler:latest"
- "creekorful/bs-scheduler:{{ replace .Tag \"v\" \"\" }}"

@ -1,4 +1,4 @@
FROM alpine:latest
FROM scratch
ADD bs-blacklister /usr/bin/bs-blacklister

@ -1,4 +1,4 @@
FROM alpine:latest
FROM scratch
ADD bs-configapi /usr/bin/bs-configapi

@ -1,4 +1,4 @@
FROM alpine:latest
FROM scratch
ADD bs-crawler /usr/bin/bs-crawler

@ -1,4 +1,4 @@
FROM alpine:latest
FROM scratch
ADD bs-indexer /usr/bin/bs-indexer

@ -1,4 +1,4 @@
FROM alpine:latest
FROM scratch
ADD bs-scheduler /usr/bin/bs-scheduler

Loading…
Cancel
Save