aboutsummaryrefslogtreecommitdiff
path: root/.drone.yml
diff options
context:
space:
mode:
authorAlex <alex@adnab.me>2022-09-27 11:55:49 +0200
committerAlex <alex@adnab.me>2022-09-27 11:55:49 +0200
commit2197753dfdb25944e55c25d911ae6d14b8506c4d (patch)
tree74e6273bc6c520e2546ba31a8f86bb44e0be69b2 /.drone.yml
parent3f95a0f717885ed2e0ac6ec6cb745daad0d572fd (diff)
parentd104ae871170e5d1dac644921815bcce8496f23c (diff)
downloadgarage-2197753dfdb25944e55c25d911ae6d14b8506c4d.tar.gz
garage-2197753dfdb25944e55c25d911ae6d14b8506c4d.zip
Merge pull request 'Add step to generate multi-arch Docker container in CI' (#393) from multi-arch-container into mainv0.8.0-rc1
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/393
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml13
1 files changed, 12 insertions, 1 deletions
diff --git a/.drone.yml b/.drone.yml
index 277bfbc2..f5ac6179 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -245,6 +245,17 @@ node:
nix-daemon: 1
steps:
+ - name: multiarch-docker
+ image: nixpkgs/nix:nixos-22.05
+ environment:
+ DOCKER_AUTH:
+ from_secret: docker_auth
+ HOME: "/root"
+ commands:
+ - mkdir -p /root/.docker
+ - echo $DOCKER_AUTH > /root/.docker/config.json
+ - export CONTAINER_TAG=${DRONE_TAG:-$DRONE_COMMIT}
+ - nix-shell --attr release --run "multiarch_docker"
- name: refresh-index
image: nixpkgs/nix:nixos-22.05
environment:
@@ -269,6 +280,6 @@ trigger:
---
kind: signature
-hmac: 362639b4c9541ad9bd06ff7f72b5235b2b0216bcb16eececd25285b6fe94ba6f
+hmac: 103a04785c98f5376a63ce22865c2576963019bbc4d828f200d2a470a3c821ea
...