From fedadb68b2f0b622c141ade3044b4b80a01ef3fa Mon Sep 17 00:00:00 2001 From: "Rikard Gynnerstedt (BN)" Date: Fri, 21 Aug 2020 16:08:56 +0200 Subject: [PATCH] missing version args --- .github/workflows/build-release.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index aa22fa6..d6a38ea 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -76,7 +76,7 @@ jobs: asset_name: cloudmonitor_exporter_${{ steps.vars.outputs.tag }}_windows_amd64.tar.gz asset_content_type: application/gzip - name: Build Image - run: make docker + run: VERSION=${{ steps.vars.outputs.tag }} make docker - name: Login to docker hub run: docker login --username ${{ secrets.DOCKERHUB_USERNAME }} --password ${{ secrets.DOCKERHUB_PASSWORD }} - name: Push to docker hub diff --git a/Makefile b/Makefile index 15a3067..9b8b223 100644 --- a/Makefile +++ b/Makefile @@ -44,4 +44,4 @@ rpm: package docker run --rm -i -v $(shell pwd):/docker centos:7 /docker/package/rpm/build_rpm.sh ${VERSION} docker: xbuild - docker build --build-arg version=${VERSION} . -t cloudmonitor_exporter:${VERSION} \ No newline at end of file + docker build --build-arg version=${VERSION} . -t bonniernews/cloudmonitor_exporter:${VERSION} \ No newline at end of file