Skip to content

Commit

Permalink
Rebase to _/eclipse-temurin, drop alpine 3.13 variants
Browse files Browse the repository at this point in the history
  • Loading branch information
csandanov committed Apr 19, 2022
1 parent 89c28c3 commit 88c6fb6
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 33 deletions.
4 changes: 0 additions & 4 deletions .github/actions/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,13 @@ inputs:
tags:
description: image tags
required: true
alpine_ver:
description: alpine version
required: true
runs:
using: "composite"
steps:
- name: Build image
env:
ELASTICSEARCH_VER: ${{ inputs.version }}
TAGS: ${{ inputs.tags }}
ALPINE_VER: ${{ inputs.alpine_ver }}
run: |
set -e
make
Expand Down
26 changes: 2 additions & 24 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ on:
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
ELASTICSEARCH7: '7.17.2'
ELASTICSEARCH6: '6.8.23'

jobs:
elasticsearch-7:
Expand All @@ -21,33 +19,13 @@ jobs:
- uses: actions/checkout@v2
- uses: ./.github/actions
with:
version: ${{ env.ELASTICSEARCH7 }}
version: '7.17.2'
tags: 7.17,7,latest
alpine_ver: 3.15
elasticsearch-6:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions
with:
version: ${{ env.ELASTICSEARCH6 }}
version: '6.8.23'
tags: 6.8,6
alpine_ver: 3.15
elasticsearch-7-alpine313:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions
with:
version: ${{ env.ELASTICSEARCH7 }}
tags: 7.17-alpine3.13,7-alpine3.13,alpine3.13
alpine_ver: 3.13
elasticsearch-6-alpine313:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions
with:
version: ${{ env.ELASTICSEARCH6 }}
tags: 6.8-alpine3.13,6-alpine3.13
alpine_ver: 3.13
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG BASE_IMAGE_TAG

FROM wodby/openjdk:${BASE_IMAGE_TAG}
FROM eclipse-temurin:${BASE_IMAGE_TAG}

ARG ELASTICSEARCH_VER

Expand Down
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ ELASTICSEARCH_VER ?= 7.17.2
ELASTICSEARCH_MINOR_VER=$(shell echo "${ELASTICSEARCH_VER}" | grep -oE '^[0-9]+\.[0-9]+')

OPENJDK_VER ?= 11
ALPINE_VER ?= 3.15
BASE_IMAGE_TAG ?= $(OPENJDK_VER)-jre-alpine$(ALPINE_VER)
BASE_IMAGE_TAG ?= $(OPENJDK_VER)-jre-alpine

# Remove minor version from tag
TAG ?= $(ELASTICSEARCH_MINOR_VER)
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ Supported tags and respective `Dockerfile` links:

- `7.17`, `7`, `latest` [_(Dockerfile)_](https://github.com/wodby/elasticsearch/tree/master/Dockerfile)
- `6.8`, `6` [_(Dockerfile)_](https://github.com/wodby/elasticsearch/tree/master/Dockerfile)
- `7.17-alpine3.13`, `7-alpine3.13`, `alpine3.13` [_(Dockerfile)_](https://github.com/wodby/elasticsearch/tree/master/Dockerfile)
- `6.8-alpine3.13`, `6-alpine3.13` [_(Dockerfile)_](https://github.com/wodby/elasticsearch/tree/master/Dockerfile)

## Environment Variables

Expand Down

0 comments on commit 88c6fb6

Please sign in to comment.