From 73788158fb414eff48fa3ea15d64f57e11570cad Mon Sep 17 00:00:00 2001 From: jhot Date: Wed, 1 Nov 2023 08:48:52 -0600 Subject: [PATCH] Try an actual docker build --- .drone.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index ac1ba7d..29b3c80 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,8 +6,9 @@ steps: - name: build image: debian:12 commands: - - echo $${DRONE_TAG:-$DRONE_BRANCH} - # - apt-get update && apt-get install -y curl - # - curl -fsSL https://get.docker.com -o get-docker.sh - # - sh ./get-docker.sh - # - docker buildx build --platform linux/amd64,linux/arm64 -t \ No newline at end of file + - $TAG=$${DRONE_TAG:-$DRONE_BRANCH} # set tag to tag name (if applicable) or branch name + - apt-get update && apt-get install -y curl # install dependencies from apt + - curl -fsSL https://get.docker.com -o get-docker.sh # install docker + - sh ./get-docker.sh + - sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d # install task + - .bin/task build # build the docker image \ No newline at end of file