diff --git a/.drone.jsonnet b/.drone.jsonnet index 4c888d2..8cda6c4 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -1,6 +1,12 @@ local bun_image = "oven/bun:0.8.1"; +local fetch_step = { + name: "fetch", + image: "alpine/git", + commands: ["git fetch --tags"], +}; + local install_run_step = { name: "install-run", image: bun_image, @@ -43,6 +49,7 @@ local build_docker_step(publish) = { }, steps: [ + fetch_step, install_run_step, build_docker_step(false), ], @@ -64,6 +71,7 @@ local build_docker_step(publish) = { }, steps: [ + fetch_step, install_run_step, build_docker_step(true), ], diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 4381d0f..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,9 +0,0 @@ -version: "3" - -services: - drone-better-docker-autotag: - build: - context: "." - dockerfile: "Dockerfile" - volumes: - - ./test-repo/:/drone/src