Skip to content

Commit dc40596

Browse files
committed
Drop Alpine images support docker-library/tomcat#299
1 parent a4a6925 commit dc40596

File tree

3 files changed

+0
-159
lines changed

3 files changed

+0
-159
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -149,75 +149,3 @@ jobs:
149149
http://openam.example.org:8080/openam/json/authenticate | grep tokenId'
150150
151151
docker inspect --format="{{json .State.Health.Status}}" test-openam | grep -q \"healthy\"
152-
build-docker-alpine:
153-
runs-on: 'ubuntu-latest'
154-
services:
155-
registry:
156-
image: registry:2
157-
ports:
158-
- 5000:5000
159-
steps:
160-
- uses: actions/checkout@v4
161-
with:
162-
fetch-depth: 0
163-
submodules: recursive
164-
- name: Get latest release version
165-
shell: bash
166-
run: |
167-
export git_version_last="$(curl -i -o - --silent https://api.github.com/repos/OpenIdentityPlatform/OpenAM/releases/latest | grep -m1 "\"name\"" | cut -d\" -f4)" ; echo "last release: $git_version_last"
168-
echo "release_version=$git_version_last" >> $GITHUB_ENV
169-
- name: Docker meta
170-
id: meta
171-
uses: docker/metadata-action@v5
172-
with:
173-
images: |
174-
localhost:5000/${{ github.repository }}
175-
tags: |
176-
type=raw,value=alpine
177-
type=raw,value=${{ env.release_version }}-alpine
178-
- name: Set up QEMU
179-
uses: docker/setup-qemu-action@v3
180-
- name: Set up Docker Buildx
181-
uses: docker/setup-buildx-action@v3
182-
with:
183-
driver-opts: network=host
184-
- name: Build image
185-
uses: docker/build-push-action@v5
186-
continue-on-error: true
187-
with:
188-
context: ./openam-distribution/openam-distribution-docker
189-
file: ./openam-distribution/openam-distribution-docker/Dockerfile-alpine
190-
build-args: |
191-
VERSION=${{ env.release_version }}
192-
platforms: linux/amd64,linux/arm64/8, linux/s390x, linux/386, linux/arm/v7, linux/arm/v6, linux/ppc64le
193-
push: true
194-
tags: ${{ steps.meta.outputs.tags }}
195-
labels: ${{ steps.meta.outputs.labels }}
196-
- name: Docker test
197-
shell: bash
198-
run: |
199-
docker run --rm -it -d --memory="2g" -h openam.example.org --name=test localhost:5000/${GITHUB_REPOSITORY,,}:${{ env.release_version }}-alpine
200-
timeout 3m bash -c 'until docker inspect --format="{{json .State.Health.Status}}" test | grep -q \"healthy\"; do sleep 10; done'
201-
docker exec -w '/usr/openam/ssoconfiguratortools' test bash -c \
202-
'echo "ACCEPT_LICENSES=true
203-
SERVER_URL=http://openam.example.org:8080
204-
DEPLOYMENT_URI=/$OPENAM_PATH
205-
BASE_DIR=$OPENAM_DATA_DIR
206-
locale=en_US
207-
PLATFORM_LOCALE=en_US
208-
AM_ENC_KEY=
209-
ADMIN_PWD=passw0rd
210-
AMLDAPUSERPASSWD=p@passw0rd
211-
COOKIE_DOMAIN=example.org
212-
ACCEPT_LICENSES=true
213-
DATA_STORE=embedded
214-
DIRECTORY_SSL=SIMPLE
215-
DIRECTORY_SERVER=openam.example.org
216-
DIRECTORY_PORT=50389
217-
DIRECTORY_ADMIN_PORT=4444
218-
DIRECTORY_JMX_PORT=1689
219-
ROOT_SUFFIX=dc=openam,dc=example,dc=org
220-
DS_DIRMGRDN=cn=Directory Manager
221-
DS_DIRMGRPASSWD=passw0rd" > conf.file && java -jar openam-configurator-tool*.jar --file conf.file'
222-
sleep 35
223-
docker inspect --format="{{json .State.Health.Status}}" test | grep -q \"healthy\"

.github/workflows/release.yml

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -163,50 +163,3 @@ jobs:
163163
push: true
164164
tags: ${{ steps.meta.outputs.tags }}
165165
labels: ${{ steps.meta.outputs.labels }}
166-
release-docker-alpine:
167-
runs-on: 'ubuntu-latest'
168-
needs:
169-
- release-maven
170-
steps:
171-
- uses: actions/checkout@v4
172-
with:
173-
ref: ${{ github.event.inputs.releaseVersion }}
174-
fetch-depth: 1
175-
submodules: recursive
176-
- name: Docker meta (alpine)
177-
id: meta
178-
uses: docker/metadata-action@v5
179-
with:
180-
images: |
181-
${{ github.repository }}
182-
ghcr.io/${{ github.repository }}/${{ github.event.repository.name }}
183-
tags: |
184-
type=raw,value=alpine
185-
type=raw,value=${{ github.event.inputs.releaseVersion }}-alpine
186-
- name: Set up QEMU
187-
uses: docker/setup-qemu-action@v3
188-
- name: Set up Docker Buildx
189-
uses: docker/setup-buildx-action@v3
190-
- name: Login to DockerHub
191-
uses: docker/login-action@v3
192-
with:
193-
username: ${{ secrets.DOCKER_USERNAME }}
194-
password: ${{ secrets.DOCKER_PASSWORD }}
195-
- name: Login to GHCR
196-
uses: docker/login-action@v3
197-
with:
198-
registry: ghcr.io
199-
username: ${{ github.repository_owner }}
200-
password: ${{ secrets.GITHUB_TOKEN }}
201-
- name: Build and push image
202-
continue-on-error: true
203-
uses: docker/build-push-action@v5
204-
with:
205-
context: ./openam-distribution/openam-distribution-docker
206-
file: ./openam-distribution/openam-distribution-docker/Dockerfile-alpine
207-
build-args: |
208-
VERSION=${{ github.event.inputs.releaseVersion }}
209-
platforms: linux/amd64,linux/arm64/8, linux/s390x, linux/386, linux/arm/v7, linux/arm/v6, linux/ppc64le
210-
push: true
211-
tags: ${{ steps.meta.outputs.tags }}
212-
labels: ${{ steps.meta.outputs.labels }}

openam-distribution/openam-distribution-docker/Dockerfile-alpine

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)