File tree Expand file tree Collapse file tree 1 file changed +3
-33
lines changed Expand file tree Collapse file tree 1 file changed +3
-33
lines changed Original file line number Diff line number Diff line change 9
9
- main
10
10
11
11
jobs :
12
- build-test-image :
13
- timeout-minutes : 15
14
- runs-on : ubuntu-latest
15
- permissions :
16
- contents : read
17
- packages : write
18
-
19
- steps :
20
- - name : Checkout
21
- uses : actions/checkout@v3
22
-
23
- - name : Login to Github Packages
24
- uses : docker/login-action@v2
25
- with :
26
- registry : ghcr.io
27
- username : ${{ github.actor }}
28
- password : ${{ secrets.GITHUB_TOKEN }}
29
-
30
- - name : Extract metadata (tags, labels) for Docker
31
- id : meta
32
- uses : docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
33
- with :
34
- images : ghcr.io/danielme85/lltdb-testbench
35
-
36
- - name : Build and push Docker image
37
- uses : docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
38
- with :
39
- context : ./docker/php8/
40
- push : true
41
- tags : ${{ steps.meta.outputs.tags }}
42
- labels : ${{ steps.meta.outputs.labels }}
43
-
44
12
run-test-image :
45
13
needs : build-test-image
46
14
timeout-minutes : 5
47
- runs-on : ubuntu-latest
48
15
container : ghcr.io/danielme85/lltdb-testbench:latest
16
+ credentials :
17
+ username : ${{ github.actor }}
18
+ password : ${{ secrets.GITHUB_TOKEN }}
49
19
50
20
steps :
51
21
- name : Start containers
You can’t perform that action at this time.
0 commit comments