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 name: deploy
steps: steps:
- name: docker - name: docker
image: plugins/docker image: thegeeklab/drone-docker-buildx
privileged: true
settings: settings:
registry: git.ar21.de
username: username:
from_secret: DOCKER_USERNAME from_secret: REGISTRY_USER
password: password:
from_secret: DOCKER_PASSWORD from_secret: REGISTRY_PASS
repo: aaronriedel/elasticsearch repo: git.ar21.de/aaron/elasticsearch
tags: latest tags: latest
platforms:
- linux/arm64
- linux/amd64
when: when:
branch: branch:
- main - main
- name: docker-build - name: docker-build
image: plugins/docker image: thegeeklab/drone-docker-buildx
privileged: true
settings: settings:
registry: git.ar21.de
username: username:
from_secret: DOCKER_USERNAME from_secret: REGISTRY_USER
password: password:
from_secret: DOCKER_PASSWORD from_secret: REGISTRY_PASS
repo: aaronriedel/elasticsearch repo: git.ar21.de/aaron/elasticsearch
tags: latest tags: latest
platforms:
- linux/arm64
- linux/amd64
dry_run: true dry_run: true
when: when:
branch: 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 RUN bin/elasticsearch-plugin install --batch ingest-attachment

View file

@ -1,2 +1,3 @@
# elasticsearch with injest-attachment plugin # 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)