Try an actual docker build
continuous-integration/drone Build is failing Details

pull/5/head
jhot 2023-11-01 08:48:52 -06:00
parent ff4f275338
commit 73788158fb
Signed by: jhot
GPG Key ID: 612ED70E22571DD4
1 changed files with 6 additions and 5 deletions

View File

@ -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
- $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