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