-
Notifications
You must be signed in to change notification settings - Fork 0
95 lines (77 loc) · 3.64 KB
/
docker-other.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
name: 构建和提交docker-other
on:
push:
branches:
- master
paths:
- "!.github/workflows/*.yml"
- ".github/workflows/docker-other.yml"
- "./other/*"
jobs:
setup-build-publish:
runs-on: ubuntu-latest
name: 构建和推送docker镜像
steps:
- name: Checkout
# 使用action库 actions/checkout获取源码
uses: actions/[email protected]
- name: php:hyperf-8.3-alpine-v3.19-swow-xdebug
uses: docker/[email protected]
with:
# Username used to log in to a Docker registry. If not set then no login will occur
username: adockero
# Password or personal access token used to log in to a Docker registry. If not set then no login will occur
password: ${{ secrets.PASSWORD }}
# Docker repository to tag the image with
repository: adockero/php
# Comma-delimited list of tags. These will be added to the registry/repository to form the image's tags
tags: hyperf-8.3-alpine-v3.19-swow-xdebug
# Path to the Dockerfile (Default is '{path}/Dockerfile')
# path: ./dockerfile
dockerfile: ./other/Dockerfile.hyperf.xdebug
# Always attempt to pull a newer version of the image
always_pull: true
# Comma-delimited list of build-time variables
build_args: FROM_ARG=hyperf/hyperf:8.3-alpine-v3.19-swow,PHP_BUILD_VERSION=83
# Adds labels with git repository information to the built image
add_git_labels: true
- name: php:hyperf-8.3-alpine-v3.19-swoole-xdebug
uses: docker/[email protected]
with:
# Username used to log in to a Docker registry. If not set then no login will occur
username: adockero
# Password or personal access token used to log in to a Docker registry. If not set then no login will occur
password: ${{ secrets.PASSWORD }}
# Docker repository to tag the image with
repository: adockero/php
# Comma-delimited list of tags. These will be added to the registry/repository to form the image's tags
tags: hyperf-8.3-alpine-v3.19-swoole-xdebug
# Path to the Dockerfile (Default is '{path}/Dockerfile')
# path: ./dockerfile
dockerfile: ./other/Dockerfile.hyperf.xdebug
# Always attempt to pull a newer version of the image
always_pull: true
# Comma-delimited list of build-time variables
build_args: FROM_ARG=hyperf/hyperf:8.3-alpine-v3.19-swoole,PHP_BUILD_VERSION=83
# Adds labels with git repository information to the built image
add_git_labels: true
- name: php:7-cli-alpine
uses: docker/[email protected]
with:
# Username used to log in to a Docker registry. If not set then no login will occur
username: adockero
# Password or personal access token used to log in to a Docker registry. If not set then no login will occur
password: ${{ secrets.PASSWORD }}
# Docker repository to tag the image with
repository: adockero/php
# Comma-delimited list of tags. These will be added to the registry/repository to form the image's tags
tags: 7-cli-SMProxy
# Path to the Dockerfile (Default is '{path}/Dockerfile')
# path: ./dockerfile
dockerfile: ./other/SMProxy-base.Dockerfile
# Always attempt to pull a newer version of the image
always_pull: true
# Comma-delimited list of build-time variables
build_args: FROM_ARG=php:7-cli-alpine,SWOOLE_VERSION=swoole-4.8.11
# Adds labels with git repository information to the built image
add_git_labels: true