Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed obsolete PHP 8.0 versions #162

Merged
merged 1 commit into from
Jan 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
112 changes: 7 additions & 105 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@ jobs:

# Get the release version by stripping build metadata from the release name
- name: Parse release tag
id: parse-release-tag
if: github.event_name == 'release'
run: echo DOCKER_RELEASE_TAG=${GITHUB_REF_NAME/+*/} >> $GITHUB_ENV
run: echo tag=${GITHUB_REF_NAME/+*/} >> "$GITHUB_OUTPUT"

- name: Build and push release image
if: github.event_name == 'release'
Expand All @@ -66,65 +67,11 @@ jobs:
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/386
push: true
tags: |
ckulka/baikal:${{ env.DOCKER_RELEASE_TAG }}-apache
ckulka/baikal:${{ env.DOCKER_RELEASE_TAG }}
ckulka/baikal:${{ steps.parse-release-tag.outputs.tag }}-apache
ckulka/baikal:${{ steps.parse-release-tag.outputs.tag }}
ckulka/baikal:apache
ckulka/baikal:latest

build_apache_php80:
name: Build Apache variant (PHP 8.0)
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
show-progress: false

# See https://github.com/docker/setup-qemu-action
- name: Set up QEMU
uses: docker/setup-qemu-action@v1

# See https://github.com/docker/setup-buildx-action
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

# See https://github.com/docker/login-action
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}

# Build Apache httpd images
- name: Build and push experimental image
if: github.event_name == 'push'
uses: docker/build-push-action@v2
with:
file: apache-php8.0.dockerfile
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/386
push: true
tags: |
ckulka/baikal:experimental-apache-php8.0
ckulka/baikal:experimental-php8.0

# Get the release version by stripping build metadata from the release name
- name: Parse release tag
if: github.event_name == 'release'
run: echo DOCKER_RELEASE_TAG=${GITHUB_REF_NAME/+*/} >> $GITHUB_ENV

- name: Build and push release image
if: github.event_name == 'release'
uses: docker/build-push-action@v2
with:
file: apache-php8.0.dockerfile
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/386
push: true
tags: |
ckulka/baikal:${{ env.DOCKER_RELEASE_TAG }}-apache-php8.0
ckulka/baikal:${{ env.DOCKER_RELEASE_TAG }}-php8.0
ckulka/baikal:apache-php8.0
ckulka/baikal:latest-php8.0

build_nginx:
name: Build nginx variant
runs-on: ubuntu-latest
Expand Down Expand Up @@ -161,8 +108,9 @@ jobs:

# Get the release version by stripping build metadata from the release name
- name: Parse release tag
id: parse-release-tag
if: github.event_name == 'release'
run: echo DOCKER_RELEASE_TAG=${GITHUB_REF_NAME/+*/} >> $GITHUB_ENV
run: echo tag=${GITHUB_REF_NAME/+*/} >> "$GITHUB_OUTPUT"

- name: Build and push release image
if: github.event_name == 'release'
Expand All @@ -172,51 +120,5 @@ jobs:
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/386
push: true
tags: |
ckulka/baikal:${{ env.DOCKER_RELEASE_TAG }}-nginx
ckulka/baikal:${{ steps.parse-release-tag.outputs.tag }}-nginx
ckulka/baikal:nginx

build_nginx_php80:
name: Build nginx variant (PHP 8.0)
runs-on: ubuntu-latest

steps:
# See https://github.com/docker/setup-qemu-action
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

# See https://github.com/docker/setup-buildx-action
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

# See https://github.com/docker/login-action
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}

# Build nginx images
- name: Build and push experimental image
if: github.event_name == 'push'
uses: docker/build-push-action@v5
with:
file: nginx-php8.0.dockerfile
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/386
push: true
tags: ckulka/baikal:experimental-nginx-php8.0

# Get the release version by stripping build metadata from the release name
- name: Parse release tag
if: github.event_name == 'release'
run: echo DOCKER_RELEASE_TAG=${GITHUB_REF_NAME/+*/} >> $GITHUB_ENV

- name: Build and push release image
if: github.event_name == 'release'
uses: docker/build-push-action@v2
with:
file: nginx-php8.0.dockerfile
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8,linux/386
push: true
tags: |
ckulka/baikal:${{ env.DOCKER_RELEASE_TAG }}-nginx-php8.0
ckulka/baikal:nginx-php8.0
38 changes: 0 additions & 38 deletions apache-php8.0.dockerfile

This file was deleted.

43 changes: 0 additions & 43 deletions nginx-php8.0.dockerfile

This file was deleted.

Loading