-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (39 loc) · 1.04 KB
/
Copy pathdocker-image-81.yml
File metadata and controls
44 lines (39 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Docker Image CI for PHP 8.1
on:
schedule:
- cron: "00 2 * * 0"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push light
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: sigblue/apache-php:81-light
build-args: VERSION=8.1-apache-bullseye
target: light
- name: Build and push standard
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: sigblue/apache-php:81-standard
build-args: VERSION=8.1-apache-bullseye
target: standard
- name: Build and push full
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: sigblue/apache-php:81-full
build-args: VERSION=8.1-apache-bullseye
target: full