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

chore: build images per minor version, drop php7 #69

Merged
merged 1 commit into from
Apr 28, 2023
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
52 changes: 26 additions & 26 deletions .github/workflows/v7.yml → .github/workflows/v8.0.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
---
name: v7
name: v8.0

"on":
push:
branches:
- master
paths:
- v7/*
- .github/workflows/v7.yml
- v8.0/*
- .github/workflows/v8.0.yml
pull_request:
branches:
- master
paths:
- v7/*
- .github/workflows/v7.yml
- v8.0/*
- .github/workflows/v8.0.yml
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -77,45 +77,45 @@ jobs:
uses: docker/build-push-action@v3
with:
builder: ${{ steps.buildx.outputs.name }}
context: v7/
file: v7/Dockerfile.amd64
context: v8.0/
file: v8.0/Dockerfile.amd64
platforms: linux/amd64
push: ${{ github.event_name != 'pull_request' }}
labels: ${{ steps.meta.outputs.labels }}
tags: |
webhippie/php-apache:7-amd64
quay.io/webhippie/php-apache:7-amd64
ghcr.io/dockhippie/php-apache:7-amd64
webhippie/php-apache:8.0-amd64
quay.io/webhippie/php-apache:8.0-amd64
ghcr.io/dockhippie/php-apache:8.0-amd64

- name: Build arm64
id: arm64
uses: docker/build-push-action@v3
with:
builder: ${{ steps.buildx.outputs.name }}
context: v7/
file: v7/Dockerfile.arm64
context: v8.0/
file: v8.0/Dockerfile.arm64
platforms: linux/arm64
push: ${{ github.event_name != 'pull_request' }}
labels: ${{ steps.meta.outputs.labels }}
tags: |
webhippie/php-apache:7-arm64
quay.io/webhippie/php-apache:7-arm64
ghcr.io/dockhippie/php-apache:7-arm64
webhippie/php-apache:8.0-arm64
quay.io/webhippie/php-apache:8.0-arm64
ghcr.io/dockhippie/php-apache:8.0-arm64

- name: Build arm
id: arm
uses: docker/build-push-action@v3
with:
builder: ${{ steps.buildx.outputs.name }}
context: v7/
file: v7/Dockerfile.arm
context: v8.0/
file: v8.0/Dockerfile.arm
platforms: linux/arm/v6
push: ${{ github.event_name != 'pull_request' }}
labels: ${{ steps.meta.outputs.labels }}
tags: |
webhippie/php-apache:7-arm
quay.io/webhippie/php-apache:7-arm
ghcr.io/dockhippie/php-apache:7-arm
webhippie/php-apache:8.0-arm
quay.io/webhippie/php-apache:8.0-arm
ghcr.io/dockhippie/php-apache:8.0-arm

- name: Hub manifest
id: manifest1
Expand All @@ -125,8 +125,8 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
platforms: linux/amd64,linux/arm64,linux/arm/v6
template: webhippie/php-apache:7-ARCH
target: webhippie/php-apache:7
template: webhippie/php-apache:8.0-ARCH
target: webhippie/php-apache:8.0
ignore_missing: true

- name: Quay manifest
Expand All @@ -137,8 +137,8 @@ jobs:
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
platforms: linux/amd64,linux/arm64,linux/arm/v6
template: quay.io/webhippie/php-apache:7-ARCH
target: quay.io/webhippie/php-apache:7
template: quay.io/webhippie/php-apache:8.0-ARCH
target: quay.io/webhippie/php-apache:8.0
ignore_missing: true

- name: Ghcr manifest
Expand All @@ -149,8 +149,8 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
platforms: linux/amd64,linux/arm64,linux/arm/v6
template: ghcr.io/dockhippie/php-apache:7-ARCH
target: ghcr.io/dockhippie/php-apache:7
template: ghcr.io/dockhippie/php-apache:8.0-ARCH
target: ghcr.io/dockhippie/php-apache:8.0
ignore_missing: true

...
52 changes: 26 additions & 26 deletions .github/workflows/v8.yml → .github/workflows/v8.1.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
---
name: v8
name: v8.1

"on":
push:
branches:
- master
paths:
- v8/*
- .github/workflows/v8.yml
- v8.1/*
- .github/workflows/v8.1.yml
pull_request:
branches:
- master
paths:
- v8/*
- .github/workflows/v8.yml
- v8.1/*
- .github/workflows/v8.1.yml
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -77,45 +77,45 @@ jobs:
uses: docker/build-push-action@v3
with:
builder: ${{ steps.buildx.outputs.name }}
context: v8/
file: v8/Dockerfile.amd64
context: v8.1/
file: v8.1/Dockerfile.amd64
platforms: linux/amd64
push: ${{ github.event_name != 'pull_request' }}
labels: ${{ steps.meta.outputs.labels }}
tags: |
webhippie/php-apache:8-amd64
quay.io/webhippie/php-apache:8-amd64
ghcr.io/dockhippie/php-apache:8-amd64
webhippie/php-apache:8.1-amd64
quay.io/webhippie/php-apache:8.1-amd64
ghcr.io/dockhippie/php-apache:8.1-amd64

- name: Build arm64
id: arm64
uses: docker/build-push-action@v3
with:
builder: ${{ steps.buildx.outputs.name }}
context: v8/
file: v8/Dockerfile.arm64
context: v8.1/
file: v8.1/Dockerfile.arm64
platforms: linux/arm64
push: ${{ github.event_name != 'pull_request' }}
labels: ${{ steps.meta.outputs.labels }}
tags: |
webhippie/php-apache:8-arm64
quay.io/webhippie/php-apache:8-arm64
ghcr.io/dockhippie/php-apache:8-arm64
webhippie/php-apache:8.1-arm64
quay.io/webhippie/php-apache:8.1-arm64
ghcr.io/dockhippie/php-apache:8.1-arm64

- name: Build arm
id: arm
uses: docker/build-push-action@v3
with:
builder: ${{ steps.buildx.outputs.name }}
context: v8/
file: v8/Dockerfile.arm
context: v8.1/
file: v8.1/Dockerfile.arm
platforms: linux/arm/v6
push: ${{ github.event_name != 'pull_request' }}
labels: ${{ steps.meta.outputs.labels }}
tags: |
webhippie/php-apache:8-arm
quay.io/webhippie/php-apache:8-arm
ghcr.io/dockhippie/php-apache:8-arm
webhippie/php-apache:8.1-arm
quay.io/webhippie/php-apache:8.1-arm
ghcr.io/dockhippie/php-apache:8.1-arm

- name: Hub manifest
id: manifest1
Expand All @@ -125,8 +125,8 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
platforms: linux/amd64,linux/arm64,linux/arm/v6
template: webhippie/php-apache:8-ARCH
target: webhippie/php-apache:8
template: webhippie/php-apache:8.1-ARCH
target: webhippie/php-apache:8.1
ignore_missing: true

- name: Quay manifest
Expand All @@ -137,8 +137,8 @@ jobs:
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
platforms: linux/amd64,linux/arm64,linux/arm/v6
template: quay.io/webhippie/php-apache:8-ARCH
target: quay.io/webhippie/php-apache:8
template: quay.io/webhippie/php-apache:8.1-ARCH
target: quay.io/webhippie/php-apache:8.1
ignore_missing: true

- name: Ghcr manifest
Expand All @@ -149,8 +149,8 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
platforms: linux/amd64,linux/arm64,linux/arm/v6
template: ghcr.io/dockhippie/php-apache:8-ARCH
target: ghcr.io/dockhippie/php-apache:8
template: ghcr.io/dockhippie/php-apache:8.1-ARCH
target: ghcr.io/dockhippie/php-apache:8.1
ignore_missing: true

...
156 changes: 156 additions & 0 deletions .github/workflows/v8.2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
---
name: v8.2

"on":
push:
branches:
- master
paths:
- v8.2/*
- .github/workflows/v8.2.yml
pull_request:
branches:
- master
paths:
- v8.2/*
- .github/workflows/v8.2.yml
workflow_dispatch:

jobs:
docker:
runs-on: ubuntu-latest

steps:
- name: Checkout source
id: source
uses: actions/checkout@v3

- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
images: |
webhippie/php-apache
quay.io/webhippie/php-apache
ghcr.io/dockhippie/php-apache
labels: |
org.opencontainers.image.vendor=Webhippie
maintainer=Thomas Boerger <[email protected]>

- name: Setup QEMU
id: qemu
uses: docker/setup-qemu-action@v2

- name: Setup Buildx
id: buildx
uses: docker/setup-buildx-action@v2

- name: Hub login
id: login1
uses: docker/login-action@v2
if: github.event_name != 'pull_request'
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Quay login
id: login2
uses: docker/login-action@v2
if: github.event_name != 'pull_request'
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}

- name: Ghcr login
id: login3
uses: docker/login-action@v2
if: github.event_name != 'pull_request'
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build amd64
id: amd64
uses: docker/build-push-action@v3
with:
builder: ${{ steps.buildx.outputs.name }}
context: v8.2/
file: v8.2/Dockerfile.amd64
platforms: linux/amd64
push: ${{ github.event_name != 'pull_request' }}
labels: ${{ steps.meta.outputs.labels }}
tags: |
webhippie/php-apache:8.2-amd64
quay.io/webhippie/php-apache:8.2-amd64
ghcr.io/dockhippie/php-apache:8.2-amd64

- name: Build arm64
id: arm64
uses: docker/build-push-action@v3
with:
builder: ${{ steps.buildx.outputs.name }}
context: v8.2/
file: v8.2/Dockerfile.arm64
platforms: linux/arm64
push: ${{ github.event_name != 'pull_request' }}
labels: ${{ steps.meta.outputs.labels }}
tags: |
webhippie/php-apache:8.2-arm64
quay.io/webhippie/php-apache:8.2-arm64
ghcr.io/dockhippie/php-apache:8.2-arm64

- name: Build arm
id: arm
uses: docker/build-push-action@v3
with:
builder: ${{ steps.buildx.outputs.name }}
context: v8.2/
file: v8.2/Dockerfile.arm
platforms: linux/arm/v6
push: ${{ github.event_name != 'pull_request' }}
labels: ${{ steps.meta.outputs.labels }}
tags: |
webhippie/php-apache:8.2-arm
quay.io/webhippie/php-apache:8.2-arm
ghcr.io/dockhippie/php-apache:8.2-arm

- name: Hub manifest
id: manifest1
uses: actionhippie/manifest@v1
if: github.event_name != 'pull_request'
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
platforms: linux/amd64,linux/arm64,linux/arm/v6
template: webhippie/php-apache:8.2-ARCH
target: webhippie/php-apache:8.2
ignore_missing: true

- name: Quay manifest
id: manifest2
uses: actionhippie/manifest@v1
if: github.event_name != 'pull_request'
with:
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
platforms: linux/amd64,linux/arm64,linux/arm/v6
template: quay.io/webhippie/php-apache:8.2-ARCH
target: quay.io/webhippie/php-apache:8.2
ignore_missing: true

- name: Ghcr manifest
id: manifest3
uses: actionhippie/manifest@v1
if: github.event_name != 'pull_request'
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
platforms: linux/amd64,linux/arm64,linux/arm/v6
template: ghcr.io/dockhippie/php-apache:8.2-ARCH
target: ghcr.io/dockhippie/php-apache:8.2
ignore_missing: true

...
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading