php/.drone.yml
Aleksander Cynarski b73d9f4839
Some checks failed
continuous-integration/drone/push Build is failing
disable 7.2
2023-04-05 16:02:14 +02:00

112 lines
2.1 KiB
YAML

kind: pipeline
name: default
steps:
- name: php8.1
image: thegeeklab/drone-docker-buildx
settings:
username:
from_secret: hub_username
password:
from_secret: hub_password
repo:
from_secret: hub_repo
platforms:
- linux/amd64
- linux/arm64
- linux/arm/v7
build_args:
- PHP_VERSION=8.1-fpm-alpine3.16
tags: 8.1-alpine
when:
branch:
- master
depends_on: [ clone ]
- name: php8.0
image: thegeeklab/drone-docker-buildx
settings:
username:
from_secret: hub_username
password:
from_secret: hub_password
repo:
from_secret: hub_repo
platforms:
- linux/amd64
- linux/arm64
- linux/arm/v7
build_args:
- PHP_VERSION=8.0-fpm-alpine3.16
tags: 8.0-alpine
when:
branch:
- master
depends_on: [ clone ]
- name: php7.4
image: thegeeklab/drone-docker-buildx
settings:
username:
from_secret: hub_username
password:
from_secret: hub_password
repo:
from_secret: hub_repo
platforms:
- linux/amd64
- linux/arm64
- linux/arm/v7
build_args:
- PHP_VERSION=7.4-fpm-alpine3.16
tags: 7.4-alpine
when:
branch:
- master
depends_on: [ clone ]
# - name: php7.3
# image: thegeeklab/drone-docker-buildx
# settings:
# username:
# from_secret: hub_username
# password:
# from_secret: hub_password
# repo:
# from_secret: hub_repo
# platforms:
# - linux/amd64
# - linux/arm64
# - linux/arm/v7
# build_args:
# - PHP_VERSION=7.3-fpm-alpine3.13
# tags: 7.3-alpine
# when:
# branch:
# - master
# depends_on: [ clone ]
- name: php7.2
image: thegeeklab/drone-docker-buildx
settings:
username:
from_secret: hub_username
password:
from_secret: hub_password
repo:
from_secret: hub_repo
platforms:
- linux/amd64
- linux/arm64
- linux/arm/v7
build_args:
- PHP_VERSION=7.2-fpm-alpine3.12
tags: 7.2-alpine
when:
branch:
- master
depends_on: [ clone ]
node:
host: dexter