File tree 2 files changed +1
-40
lines changed
2 files changed +1
-40
lines changed Original file line number Diff line number Diff line change 10
10
image : ghcr.io/${{ github.repository }}/gha-summarizer
11
11
12
12
jobs :
13
- build :
14
- permissions :
15
- contents : read
16
- packages : write
17
- runs-on : ubuntu-latest
18
- outputs :
19
- imageid : ${{ steps.docker_metadata.outputs.imageid }}
20
- steps :
21
- - name : Checkout
22
- uses : actions/checkout@v4
23
- with :
24
- ref : ${{ github.event.pull_request.head.ref }}
25
- repository : ${{ github.event.pull_request.head.repo.full_name }}
26
-
27
- - name : Set up Docker metadata
28
- id : docker_metadata
29
- uses : docker/metadata-action@v5
30
- with :
31
- images : ${{ env.image }}
32
- tags : |
33
- type=ref,event=branch
34
- type=ref,event=pr
35
- type=ref,event=tag
36
- type=sha
37
-
38
- - name : Login to GitHub Container Registry
39
- uses : docker/login-action@v3
40
- with :
41
- registry : ghcr.io
42
- username : ${{ github.actor }}
43
- password : ${{ secrets.GITHUB_TOKEN }}
44
-
45
- - name : Build and push Docker image
46
- uses : docker/build-push-action@v6
47
- with :
48
- push : ${{ github.event_name != 'pull_request_target' }}
49
- tags : ${{ steps.docker_metadata.outputs.tags }}
50
- labels : ${{ steps.docker_metadata.outputs.labels }}
51
- token : ${{ github.token }}
52
-
53
13
test :
54
14
permissions :
55
15
contents : read
Original file line number Diff line number Diff line change
1
+ # GHA Summarizer
You can’t perform that action at this time.
0 commit comments