File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 7
7
permissions :
8
8
contents : write
9
9
id-token : write
10
+ packages : write
10
11
11
12
jobs :
12
13
releaser :
18
19
uses : actions/checkout@v2
19
20
with :
20
21
fetch-depth : 0
22
+
23
+ - name : Login into Github Docker Registery
24
+ run : echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
25
+
21
26
-
22
27
name : Set up Go
23
28
uses : actions/setup-go@v2
Original file line number Diff line number Diff line change @@ -113,3 +113,12 @@ nfpms:
113
113
- rpm
114
114
recommends :
115
115
- git
116
+
117
+ dockers :
118
+ - image_templates :
119
+ - " ghcr.io/symfony-cli/symfony-cli:{{ .Tag }}"
120
+ - " ghcr.io/symfony-cli/symfony-cli:v{{ .Major }}"
121
+ - " ghcr.io/symfony-cli/symfony-cli:v{{ .Major }}.{{ .Minor }}"
122
+ - " ghcr.io/symfony-cli/symfony-cli:latest"
123
+ build_flag_templates :
124
+ - " --label=org.opencontainers.image.source=https://github.com/symfony-cli/symfony-cli"
Original file line number Diff line number Diff line change
1
+ FROM scratch
2
+
3
+ COPY symfony /usr/local/bin/
4
+ ENTRYPOINT ["/usr/local/bin/symfony" ]
You can’t perform that action at this time.
0 commit comments