Fix Makefile

This commit is contained in:
Martin Šalata
2022-06-13 15:09:50 +02:00
parent 5491cc64f7
commit 8827431f76
2 changed files with 2 additions and 2 deletions

View File

@@ -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 }}

View File

@@ -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))")