Skip to content

Commit

Permalink
Merge pull request #1 from binakot/master
Browse files Browse the repository at this point in the history
Update to the latest version and configure auto-deploy to Docker Hub.
  • Loading branch information
binakot authored Oct 28, 2021
2 parents 2cb9465 + c155c12 commit 9127f77
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 4 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/dockerhub.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Docker Hub Publish
on:
release:
types:
- published
jobs:
docker_publish:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: docker/metadata-action@v3
id: meta
with:
images: binakot/es-curator-cron
- uses: docker/build-push-action@v2
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM python:3.8-alpine
FROM python:3.9-alpine

MAINTAINER Ivan Muratov, [email protected]

LABEL elasticsearch-curator=5.8.1
LABEL elasticsearch-curator=5.8.4

RUN pip install elasticsearch-curator==5.8.1 && \
RUN pip install elasticsearch-curator==5.8.4 && \
rm -rf /var/cache/apk/*

COPY entrypoint.sh /usr/bin/entrypoint.sh
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ $ docker run \
Service in `Docker Compose` or `Docker Swarm` stack:

```yaml
version: '3.4'
version: '3'

services:
curator:
Expand Down

0 comments on commit 9127f77

Please sign in to comment.