Fetch step
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Julien Valverdé
2023-09-01 02:29:53 +02:00
parent df6657c7a7
commit 2a09ad800d
2 changed files with 8 additions and 9 deletions

View File

@@ -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),
],

View File

@@ -1,9 +0,0 @@
version: "3"
services:
drone-better-docker-autotag:
build:
context: "."
dockerfile: "Dockerfile"
volumes:
- ./test-repo/:/drone/src