File tree 2 files changed +20
-5
lines changed
2 files changed +20
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ name: Docker Build
3
3
on : push
4
4
5
5
jobs :
6
- build :
6
+ publish-to-docker-io :
7
+ name : Publish to Docker.io
7
8
runs-on : ubuntu-latest
8
9
steps :
9
10
- uses : actions/checkout@v1
13
14
password : ${{ secrets.DOCKER_TOKEN }}
14
15
repository : fspnetwork/php
15
16
tags : edge
17
+ publish-to-github-pkg :
18
+ name : Publish to GitHub Package Registry
19
+ runs-on : ubuntu-latest
20
+ steps :
21
+ - uses : actions/checkout@v1
16
22
- uses : jerray/publish-docker-action@master
17
23
with :
18
24
username : ${{ secrets.GITHUB_USERNAME }}
19
25
password : ${{ secrets.GITHUB_PR_TOKEN }}
20
- repository : docker.pkg.github.com/FSPNET/php
26
+ registry : docker.pkg.github.com
27
+ repository : fspnet/php
21
28
tags : edge
Original file line number Diff line number Diff line change 5
5
types : [published]
6
6
7
7
jobs :
8
- build :
8
+ publish-to-docker-io :
9
+ name : Publish to Docker.io
9
10
runs-on : ubuntu-latest
10
11
steps :
11
12
- uses : actions/checkout@v1
@@ -21,15 +22,22 @@ jobs:
21
22
password : ${{ secrets.DOCKER_TOKEN }}
22
23
repository : fspnetwork/php
23
24
tags : latest
25
+ publish-to-github-pkg :
26
+ name : Publish to GitHub Package Registry
27
+ runs-on : ubuntu-latest
28
+ steps :
29
+ - uses : actions/checkout@v1
24
30
- uses : jerray/publish-docker-action@master
25
31
with :
26
32
username : ${{ secrets.GITHUB_USERNAME }}
27
33
password : ${{ secrets.GITHUB_PR_TOKEN }}
28
- repository : docker.pkg.github.com/FSPNET/php
34
+ registry : docker.pkg.github.com
35
+ repository : fspnet/php
29
36
auto_tag : true
30
37
- uses : jerray/publish-docker-action@master
31
38
with :
32
39
username : ${{ secrets.GITHUB_USERNAME }}
33
40
password : ${{ secrets.GITHUB_PR_TOKEN }}
34
- repository : docker.pkg.github.com/FSPNET/php
41
+ registry : docker.pkg.github.com
42
+ repository : fspnet/php
35
43
tags : latest
You can’t perform that action at this time.
0 commit comments