change build pipeline
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Aaron Riedel 2024-03-25 10:38:27 +01:00
parent 26fc749022
commit 3496710b8f
Signed by: aaron
GPG key ID: 643004654D40D577
3 changed files with 21 additions and 10 deletions

View file

@ -2,26 +2,36 @@ kind: pipeline
name: deploy
steps:
- name: docker
image: plugins/docker
image: thegeeklab/drone-docker-buildx
privileged: true
settings:
registry: git.ar21.de
username:
from_secret: DOCKER_USERNAME
from_secret: REGISTRY_USER
password:
from_secret: DOCKER_PASSWORD
repo: aaronriedel/elasticsearch
from_secret: REGISTRY_PASS
repo: git.ar21.de/aaron/elasticsearch
tags: latest
platforms:
- linux/arm64
- linux/amd64
when:
branch:
- main
- name: docker-build
image: plugins/docker
image: thegeeklab/drone-docker-buildx
privileged: true
settings:
registry: git.ar21.de
username:
from_secret: DOCKER_USERNAME
from_secret: REGISTRY_USER
password:
from_secret: DOCKER_PASSWORD
repo: aaronriedel/elasticsearch
from_secret: REGISTRY_PASS
repo: git.ar21.de/aaron/elasticsearch
tags: latest
platforms:
- linux/arm64
- linux/amd64
dry_run: true
when:
branch:

View file

@ -1,2 +1,2 @@
FROM amd64/elasticsearch:8.12.2
FROM elasticsearch:8.12.2
RUN bin/elasticsearch-plugin install --batch ingest-attachment

View file

@ -1,2 +1,3 @@
# elasticsearch with injest-attachment plugin
#
[![Build Status](https://drone.ar21.de/api/badges/aaron/elasticsearch/status.svg)](https://drone.ar21.de/aaron/elasticsearch)
[git.ar21.de/aaron/elasticsearch](https://git.ar21.de/aaron/-/packages/container/elasticsearch/latest)