From caabe13d7c683a086a66fbc983e4226131b0ebf4 Mon Sep 17 00:00:00 2001 From: WeebDataHoarder <57538841+WeebDataHoarder@users.noreply.github.com> Date: Mon, 1 Aug 2022 21:48:33 +0200 Subject: [PATCH] Added docker image --- .drone.yml | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/.drone.yml b/.drone.yml index 6fa8a69..825b429 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,4 +12,57 @@ steps: - git clone --depth 1 https://git.gammaspectra.live/S.O.N.G/alac.git && cd alac && autoreconf -fi && ./configure --prefix /usr && make && make install && cd .. - go build -v . +--- +kind: pipeline +type: docker +name: docker-amd64 +platform: + os: linux + arch: amd64 + +trigger: + branch: + - master + +steps: + - name: docker + image: plugins/docker + settings: + username: + from_secret: git_username + password: + from_secret: git_password + registry: git.gammaspectra.live + repo: git.gammaspectra.live/s.o.n.g/meteorlight + auto_tag: true + auto_tag_suffix: linux-amd64 + custom_dns: 8.8.8.8 + squash: true +--- +kind: pipeline +type: docker +name: docker-arm64 +platform: + os: linux + arch: arm64 + +trigger: + branch: + - master + +steps: + - name: docker + image: plugins/docker + settings: + username: + from_secret: git_username + password: + from_secret: git_password + registry: git.gammaspectra.live + repo: git.gammaspectra.live/s.o.n.g/meteorlight + auto_tag: true + auto_tag_suffix: linux-arm64 + custom_dns: 8.8.8.8 + squash: true ... +