Skip to content

Update 8.1.19

Update 8.1.19 #12

Workflow file for this run

name: php8.1
on:
push:
tags:
- 8.1.*
jobs:
buildx:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Generate bake file for base
run: |
cat <<'EOF' > docker-bake-base.hcl
group "default" {
targets = [
"8_1",
]
}
target "default" {
context="./php/"
platforms = [
"linux/amd64",
"linux/arm64",
]
}
target "8_1" {
inherits=["default"]
dockerfile="Dockerfile"
tags = [
"${{ github.repository_owner }}/php:8.1",
"${{ github.repository_owner }}/php:8.1.19",
]
args = {
PHP_VERSION="8.1.19"
COMPOSER_VERSION="2.2.21"
}
}
EOF
-
name: Build and push base
uses: docker/bake-action@master
with:
push: true
files: docker-bake-base.hcl