This commit is contained in:
parent
26fc749022
commit
3496710b8f
3 changed files with 21 additions and 10 deletions
26
.drone.yml
26
.drone.yml
|
@ -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:
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
FROM amd64/elasticsearch:8.12.2
|
||||
FROM elasticsearch:8.12.2
|
||||
RUN bin/elasticsearch-plugin install --batch ingest-attachment
|
||||
|
|
|
@ -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)
|
Loading…
Reference in a new issue