From 8827431f7672206d0eb2928d0a981a422047667f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20=C5=A0alata?= Date: Mon, 13 Jun 2022 15:09:50 +0200 Subject: [PATCH] Fix Makefile --- .github/workflows/release-docker.yaml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-docker.yaml b/.github/workflows/release-docker.yaml index 39d96c4..e9ff950 100644 --- a/.github/workflows/release-docker.yaml +++ b/.github/workflows/release-docker.yaml @@ -21,7 +21,7 @@ jobs: git config user.email "$GITHUB_ACTOR@users.noreply.github.com" - name: Build and push docker images (make image) - run: make image + run: make docker-image env: DOCKER_USER: ${GITHUB_ACTOR} DOCKER_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/Makefile b/Makefile index 3195654..9c93d78 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ else $(error "This system's OS $(LOCAL_OS) isn't recognized/supported") endif -all: fmt lint test build image +all: fmt lint test build docker-image ifeq (,$(wildcard go.mod)) ifneq ("$(realpath $(DEST))", "$(realpath $(PWD))")