From ff877258017213d276e447243b2e9377b6e97d10 Mon Sep 17 00:00:00 2001 From: fwiedmann Date: Wed, 25 Sep 2019 00:20:41 +0200 Subject: [PATCH] build(workflow): fix call of binary --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5f50468..4b4e3f1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -40,7 +40,7 @@ jobs: if: github.ref == 'refs/heads/master' run: | docker build -t nightapes/go-semantic-release:latest . - docker build -t nightapes/go-semantic-release:"$(./go-semantic-release next)" . + docker build -t nightapes/go-semantic-release:"$(./build/go-semantic-release next)" . - name: Push Docker image for master env: @@ -49,7 +49,7 @@ jobs: run: | docker login -u nightapes -p ${{ secrets.DOCKER_PASSWORD }} docker push nightapes/go-semantic-release:latest - docker push nightapes/go-semantic-release:"$(./go-semantic-release next)" + docker push nightapes/go-semantic-release:"$(./build/go-semantic-release next)" - name: Build Docker image if: github.ref != 'refs/heads/master'