diff --git a/.drone.yml b/.drone.yml index 68aa84c..5d966f7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,7 +3,7 @@ kind: pipeline name: default steps: - - name: docker + - name: docker amd64 image: plugins/docker settings: repo: eumau/debian @@ -12,6 +12,18 @@ steps: from_secret: dockerhub_username password: from_secret: dockerhub_password + platform: linux/amd64 + + - name: docker arm64 + image: plugins/docker + settings: + repo: eumau/debian + auto_tag: true + username: + from_secret: dockerhub_username + password: + from_secret: dockerhub_password + platform: linux/arm64 trigger: event: @@ -23,7 +35,7 @@ kind: pipeline name: tags steps: - - name: docker + - name: docker amd64 image: plugins/docker settings: repo: eumau/debian @@ -36,6 +48,22 @@ steps: - ${DRONE_TAG} build_args: - DEBIAN_VERSION=${DRONE_TAG} + platform: linux/amd64 + + - name: docker arm64 + image: plugins/docker + settings: + repo: eumau/debian + auto_tag: false + username: + from_secret: dockerhub_username + password: + from_secret: dockerhub_password + tags: + - ${DRONE_TAG} + build_args: + - DEBIAN_VERSION=${DRONE_TAG} + platform: linux/arm64 trigger: event: