Skip to content

Commit bdab128

Browse files
committed
Remove GitLab CI, use GitHub Actions
1 parent c5bcef5 commit bdab128

File tree

3 files changed

+56
-19
lines changed

3 files changed

+56
-19
lines changed

.github/workflows/push.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Docker Build
2+
3+
on: push
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v1
10+
- uses: jerray/publish-docker-action@master
11+
with:
12+
username: ${{ secrets.DOCKER_USERNAME }}
13+
password: ${{ secrets.DOCKER_TOKEN }}
14+
repository: fspnetwork/php
15+
tags: edge
16+
- uses: jerray/publish-docker-action@master
17+
with:
18+
username: ${{ secrets.GITHUB_USERNAME }}
19+
password: ${{ secrets.GITHUB_PR_TOKEN }}
20+
repository: docker.pkg.github.com/FSPNET/php
21+
tags: edge

.github/workflows/release.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Docker Build
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v1
12+
- uses: jerray/publish-docker-action@master
13+
with:
14+
username: ${{ secrets.DOCKER_USERNAME }}
15+
password: ${{ secrets.DOCKER_TOKEN }}
16+
repository: fspnetwork/php
17+
auto_tag: true
18+
- uses: jerray/publish-docker-action@master
19+
with:
20+
username: ${{ secrets.DOCKER_USERNAME }}
21+
password: ${{ secrets.DOCKER_TOKEN }}
22+
repository: fspnetwork/php
23+
tags: latest
24+
- uses: jerray/publish-docker-action@master
25+
with:
26+
username: ${{ secrets.GITHUB_USERNAME }}
27+
password: ${{ secrets.GITHUB_PR_TOKEN }}
28+
repository: docker.pkg.github.com/FSPNET/php
29+
auto_tag: true
30+
- uses: jerray/publish-docker-action@master
31+
with:
32+
username: ${{ secrets.GITHUB_USERNAME }}
33+
password: ${{ secrets.GITHUB_PR_TOKEN }}
34+
repository: docker.pkg.github.com/FSPNET/php
35+
tags: latest

.gitlab-ci.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)