-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (35 loc) · 1.2 KB
/
main.yml
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: Build docker httpd and php-fpm containers
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Log into GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build the Apache container and push to GitHub Packages
uses: docker/build-push-action@v2
with:
tags: ghcr.io/openconext/openconext-containers/openconext-httpd:latest
context: docker/httpd/
push: true
- name: Build the php-fpm prod container and push to GitHub Packages
uses: docker/build-push-action@v2
with:
tags: ghcr.io/openconext/openconext-containers/openconext-phpfpm:latest
context: docker/php-fpm/
target: fpmprod
push: true
- name: Build the php-fpm dev container and push to GitHub Packages
uses: docker/build-push-action@v2
with:
tags: ghcr.io/openconext/openconext-containers/openconext-phpfpm-dev:latest
context: docker/php-fpm/
target: fpmdev
push: true