diff --git a/.drone.yml b/.drone.yml index 68b40cd..66468e5 100644 --- a/.drone.yml +++ b/.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: diff --git a/Dockerfile b/Dockerfile index a9b3578..d5d5adb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,2 +1,2 @@ -FROM amd64/elasticsearch:8.12.2 +FROM elasticsearch:8.12.2 RUN bin/elasticsearch-plugin install --batch ingest-attachment diff --git a/README.md b/README.md index 7f586d6..4e26ea2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ # elasticsearch with injest-attachment plugin -# \ No newline at end of file +[![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) \ No newline at end of file