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: