Skip to content

Commit 4032baf

Browse files
authored
v1.1.4 (#4)
Minor updates * Tweaking healthcheck Build updates * Adding version to dev build
1 parent c616a3a commit 4032baf

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

.github/workflows/build_5_6-dev.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ name: 5.6-dev
22

33
on:
44
push:
5-
branches:
6-
- '**'
5+
branches-ignore:
6+
- 'main'
77
tags-ignore:
88
- '**'
99
paths:
10-
- '.github/workflows/build_5_6-main.yml'
10+
- '.github/workflows/build_5_6-dev.yml'
1111
- '5.6/**'
1212
- 'overlay/**'
1313
- 'VERSION'
@@ -19,6 +19,12 @@ jobs:
1919
-
2020
name: Checkout code
2121
uses: actions/checkout@v2
22+
-
23+
name: Read image version
24+
uses: bencgreen/read-file-action@v1
25+
with:
26+
path: ./VERSION
27+
id: version
2228
-
2329
name: Set up QEMU
2430
uses: docker/setup-qemu-action@v1
@@ -43,6 +49,7 @@ jobs:
4349
tags: |
4450
bcgdesign/apache-php:dev
4551
bcgdesign/apache-php:dev-php-5.6
52+
bcgdesign/apache-php:${{ steps.version.outputs.content }}
4653
-
4754
name: Image digest
4855
run: echo ${{ steps.docker_build.outputs.digest }}

Dockerfile-automated

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ LABEL maintainer="Ben Green <ben@bcgdesign.com>" \
99
RUN \
1010
a2enmod rewrite \
1111
&& docker-php-ext-install mysql \
12-
&& apt update \
1312
&& apt install wget
1413

1514
COPY ./overlay /

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1.3
1+
1.1.4

overlay/usr/local/bin/healthcheck

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
# Attempt to load localhost using wget
55
#======================================================================================================================
66

7-
wget --no-verbose --tries=1 --spider http://localhost || exit 1
7+
wget --no-verbose --spider --tries=1 http://localhost || exit 1

0 commit comments

Comments
 (0)