Skip to content

Commit 147d227

Browse files
authored
Upgrade PHP version to 8.1 (#6)
1 parent 086f31d commit 147d227

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Docker Build And Push To Docker Hub
33
on:
44
push:
55
branches:
6-
- main
6+
- '*'
77
tags:
88
- 'v*.*.*'
99

@@ -24,6 +24,8 @@ jobs:
2424
deployment:
2525
name: Deployment
2626
runs-on: ubuntu-latest
27+
needs: build
28+
if: github.ref == 'refs/heads/main'
2729
environment: production
2830
steps:
2931
- name: Docker meta

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:8.0-fpm-bullseye
1+
FROM php:8.1-fpm-bullseye
22

33
WORKDIR /var/www/html
44

0 commit comments

Comments
 (0)