File tree Expand file tree Collapse file tree 1 file changed +13
-10
lines changed
Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change 66 - ' *'
77
88permissions :
9+ contents : write
910 packages : write
1011
1112jobs :
@@ -17,23 +18,25 @@ jobs:
1718 uses : docker/setup-qemu-action@v1
1819 - uses : earthly/actions-setup@v1
1920 with :
20- version : " latest" # or pin to an specific version, e.g. "v0.6.10"
21- - uses : actions/checkout@v2
22- - name : earthly version
23- run : earthly --version
21+ version : " v0.6.10"
22+ - name : Set up Go
23+ uses : actions/setup-go@v2
24+ with :
25+ go-version : 1.17
26+
27+ - name : Checkout
28+ uses : actions/checkout@v2
29+ with :
30+ fetch-depth : 0
31+ - name : Fetch all tags
32+ run : git fetch --force --tags
2433
2534 - name : build
2635 run : earthly --ci +publish-images --GITHUB_TOKEN="${{ secrets.GITHUB_TOKEN }}"
2736
2837 - name : build-offline-payload
2938 run : earthly --ci +offline-payload
3039
31- - name : Fetch all tags
32- run : git fetch --force --tags
33- - name : Set up Go
34- uses : actions/setup-go@v2
35- with :
36- go-version : 1.17
3740 - name : Run GoReleaser
3841 uses : goreleaser/goreleaser-action@v2
3942 with :
You can’t perform that action at this time.
0 commit comments