From dfb4b078fc406369e2d3eca396698e8474c21ed5 Mon Sep 17 00:00:00 2001 From: paspo Date: Fri, 13 Dec 2024 12:19:23 +0100 Subject: [PATCH] simpler drone --- .drone.yml | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/.drone.yml b/.drone.yml index c424812..7f77344 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,31 +4,6 @@ type: docker name: default steps: - - name: submodules - image: alpine/git - commands: - - git submodule update --init --recursive - - - name: build_and_publish_tag - image: plugins/docker:linux-amd64 - settings: - force_tag: true - password: - from_secret: docker_password - registry: docker.asperti.com - repo: docker.asperti.com/paspo/webserver-nginx - context: . - dockerfile: ./Dockerfile - username: - from_secret: docker_username - tags: - - latest - - ${DRONE_TAG} - - ${DRONE_SEMVER_MAJOR}.${DRONE_SEMVER_MINOR} - when: - event: - - tag - - name: build_and_publish image: plugins/docker:linux-amd64 settings: @@ -45,7 +20,7 @@ steps: - latest when: branch: - - main + - master event: - push - cron