Skip to content

Commit 7f9c8fb

Browse files
committed
Drop Docker Alpine images support docker-library/tomcat#299
1 parent 945c485 commit 7f9c8fb

File tree

3 files changed

+1
-130
lines changed

3 files changed

+1
-130
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -90,52 +90,3 @@ jobs:
9090
run: |
9191
docker run --rm -it -d --name=test localhost:5000/${GITHUB_REPOSITORY,,}:${{ env.release_version }}
9292
timeout 3m bash -c 'until docker inspect --format="{{json .State.Health.Status}}" test | grep -q \"healthy\"; do sleep 10; done'
93-
build-docker-alpine:
94-
runs-on: 'ubuntu-latest'
95-
services:
96-
registry:
97-
image: registry:2
98-
ports:
99-
- 5000:5000
100-
steps:
101-
- uses: actions/checkout@v4
102-
with:
103-
fetch-depth: 0
104-
submodules: recursive
105-
- name: Get latest release version
106-
shell: bash
107-
run: |
108-
export git_version_last="$(curl -i -o - --silent https://api.github.com/repos/OpenIdentityPlatform/OpenIG/releases/latest | grep -m1 "\"name\"" | cut -d\" -f4)" ; echo "last release: $git_version_last"
109-
echo "release_version=$git_version_last" >> $GITHUB_ENV
110-
- name: Docker meta
111-
id: meta
112-
uses: docker/metadata-action@v5
113-
with:
114-
images: |
115-
localhost:5000/${{ github.repository }}
116-
tags: |
117-
type=raw,value=alpine
118-
type=raw,value=${{ env.release_version }}-alpine
119-
- name: Set up QEMU
120-
uses: docker/setup-qemu-action@v3
121-
- name: Set up Docker Buildx
122-
uses: docker/setup-buildx-action@v3
123-
with:
124-
driver-opts: network=host
125-
- name: Build image
126-
uses: docker/build-push-action@v5
127-
continue-on-error: true
128-
with:
129-
context: ./openig-docker
130-
file: ./openig-docker/Dockerfile-alpine
131-
build-args: |
132-
VERSION=${{ env.release_version }}
133-
platforms: linux/amd64,linux/arm64/8, linux/s390x, linux/386, linux/arm/v7, linux/arm/v6, linux/ppc64le
134-
push: true
135-
tags: ${{ steps.meta.outputs.tags }}
136-
labels: ${{ steps.meta.outputs.labels }}
137-
- name: Docker test
138-
shell: bash
139-
run: |
140-
docker run --rm -it -d --name=test localhost:5000/${GITHUB_REPOSITORY,,}:${{ env.release_version }}-alpine
141-
timeout 3m bash -c 'until docker inspect --format="{{json .State.Health.Status}}" test | grep -q \"healthy\"; do sleep 10; done'

.github/workflows/release.yml

Lines changed: 1 addition & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -155,50 +155,4 @@ jobs:
155155
push: true
156156
tags: ${{ steps.meta.outputs.tags }}
157157
labels: ${{ steps.meta.outputs.labels }}
158-
release-docker-alpine:
159-
runs-on: 'ubuntu-latest'
160-
needs:
161-
- release-maven
162-
steps:
163-
- uses: actions/checkout@v4
164-
with:
165-
ref: ${{ github.event.inputs.releaseVersion }}
166-
fetch-depth: 1
167-
submodules: recursive
168-
- name: Docker meta (alpine)
169-
id: meta
170-
uses: docker/metadata-action@v5
171-
with:
172-
images: |
173-
${{ github.repository }}
174-
ghcr.io/${{ github.repository }}/${{ github.event.repository.name }}
175-
tags: |
176-
type=raw,value=alpine
177-
type=raw,value=${{ github.event.inputs.releaseVersion }}-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-
- name: Login to DockerHub
183-
uses: docker/login-action@v3
184-
with:
185-
username: ${{ secrets.DOCKER_USERNAME }}
186-
password: ${{ secrets.DOCKER_PASSWORD }}
187-
- name: Login to GHCR
188-
uses: docker/login-action@v3
189-
with:
190-
registry: ghcr.io
191-
username: ${{ github.repository_owner }}
192-
password: ${{ secrets.GITHUB_TOKEN }}
193-
- name: Build and push image
194-
continue-on-error: true
195-
uses: docker/build-push-action@v5
196-
with:
197-
context: ./openig-docker
198-
file: ./openig-docker/Dockerfile-alpine
199-
build-args: |
200-
VERSION=${{ github.event.inputs.releaseVersion }}
201-
platforms: linux/amd64,linux/arm64/8, linux/s390x, linux/386, linux/arm/v7, linux/arm/v6, linux/ppc64le
202-
push: true
203-
tags: ${{ steps.meta.outputs.tags }}
204-
labels: ${{ steps.meta.outputs.labels }}
158+

openig-docker/Dockerfile-alpine

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

0 commit comments

Comments
 (0)