From d70ce976343bc563a014fdb4e0ae2a14e0a18d28 Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Fri, 10 May 2024 12:46:13 +0300 Subject: [PATCH] don't use make in ci --- .drone.yml | 2 +- Makefile | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 4ade30a..d2c5073 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,7 +19,7 @@ steps: from_secret: CI_APP_IMAGE commands: - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - - make docker_release + - docker buildx build --push --platform linux/amd64 --tag $CI_APP_IMAGE --file Dockerfile . when: branch: - master diff --git a/Makefile b/Makefile index cbd3e84..47acc47 100644 --- a/Makefile +++ b/Makefile @@ -14,9 +14,6 @@ build: deps fmt docker: @docker buildx build --platform linux/amd64 --tag $CI_APP_IMAGE --file Dockerfile . -docker_release: - @docker buildx build --push --platform linux/amd64 --tag $CI_APP_IMAGE --file Dockerfile . - run: @${BIN} run fmt: