Fix docker build step
@@ -82,7 +82,7 @@ jobs:
go get github.com/gobuffalo/packr/v2/packr2@v2.7.1
goreleaser --rm-dist --snapshot
- - name: Push lbrytv-api image
+ - name: Build lbrytv-api docker image
if: steps.service.outputs.service == 'api'
uses: docker/build-push-action@v1
with:
@@ -114,14 +114,15 @@ jobs:
go get github.com/markbates/pkger/cmd/pkger
make collector
- - name: Push lbrytv-collector image
+ - name: Build lbrytv-collector docker image
if: steps.service.outputs.service == 'collector'
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- repository: lbry/lbrytv-collector
+ repository: lbry/lbrytv-${{ steps.service.outputs.service }}
tags: latest,${{ steps.version.outputs.version }}
+ dockerfile: apps/${{ steps.service.outputs.service }}/Dockerfile
- name: Deploy lbrytv-collector
if: steps.service.outputs.service == 'collector'
