File tree 3 files changed +0
-77
lines changed
3 files changed +0
-77
lines changed Original file line number Diff line number Diff line change 26
26
with :
27
27
cache : false
28
28
go-version : " 1.22"
29
- - name : Set up QEMU
30
- uses : docker/setup-qemu-action@v2
31
- - name : Set up Docker Buildx
32
- id : buildx
33
- uses : docker/setup-buildx-action@v2
34
- with :
35
- buildkitd-flags : --debug
36
- - name : Login to GitHub Container Registry
37
- uses : docker/login-action@v2
38
- with :
39
- registry : ghcr.io
40
- username : ${{ github.actor }}
41
- password : ${{ secrets.GITHUB_TOKEN }}
42
29
- name : Run GoReleaser
43
30
uses : goreleaser/goreleaser-action@v4
44
31
with :
59
46
AWS_S3_BUCKET : ${{ secrets.AWS_S3_BUCKET }}
60
47
AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
61
48
AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
62
- - name : Push Docker Images
63
- run : |
64
- VERSION=v$(cat releases/metadata.json | jq -r .version)
65
- IMAGES=$(docker images --format "{{.Repository}}:{{.Tag}}" | grep "$VERSION")
66
- for i in ${IMAGES}; do
67
- docker push $i
68
- done
69
- docker manifest create ghcr.io/gptscript-ai/gptscript:main ${IMAGES}
70
- docker manifest push ghcr.io/gptscript-ai/gptscript:main
71
- docker manifest create ghcr.io/gptscript-ai/gptscript:${VERSION} ${IMAGES}
72
- docker manifest push ghcr.io/gptscript-ai/gptscript:${VERSION}
Original file line number Diff line number Diff line change 21
21
with :
22
22
cache : false
23
23
go-version : " 1.22"
24
- - name : Set up QEMU
25
- uses : docker/setup-qemu-action@v2
26
- - name : Set up Docker Buildx
27
- id : buildx
28
- uses : docker/setup-buildx-action@v2
29
- with :
30
- buildkitd-flags : --debug
31
- - name : Login to GitHub Container Registry
32
- uses : docker/login-action@v2
33
- with :
34
- registry : ghcr.io
35
- username : ${{ github.actor }}
36
- password : ${{ secrets.GITHUB_TOKEN }}
37
24
- name : Run GoReleaser
38
25
uses : goreleaser/goreleaser-action@v4
39
26
with :
Original file line number Diff line number Diff line change @@ -65,43 +65,3 @@ brews:
65
65
owner : gptscript-ai
66
66
name : homebrew-tap
67
67
token : " {{ .Env.GH_PROJECT_TOKEN }}"
68
-
69
- dockers :
70
- - use : buildx
71
- goos : linux
72
- goarch : amd64
73
- image_templates :
74
- - ghcr.io/gptscript-ai/gptscript:v{{ .Version }}-amd64
75
- build_flag_templates :
76
- - " --pull"
77
- - " --label=org.opencontainers.image.created={{.Date}}"
78
- - " --label=org.opencontainers.image.title={{.ProjectName}}"
79
- - " --label=org.opencontainers.image.revision={{.FullCommit}}"
80
- - " --label=org.opencontainers.image.version={{.Version}}"
81
- - " --label=org.opencontainers.image.source=https://github.com/gptscript-ai/gptscript"
82
- - " --platform=linux/amd64"
83
- - use : buildx
84
- goos : linux
85
- goarch : arm64
86
- image_templates :
87
- - ghcr.io/gptscript-ai/gptscript:v{{ .Version }}-arm64
88
- build_flag_templates :
89
- - " --pull"
90
- - " --label=org.opencontainers.image.created={{.Date}}"
91
- - " --label=org.opencontainers.image.title={{.ProjectName}}"
92
- - " --label=org.opencontainers.image.revision={{.FullCommit}}"
93
- - " --label=org.opencontainers.image.version={{.Version}}"
94
- - " --label=org.opencontainers.image.source=https://github.com/gptscript-ai/gptscript"
95
- - " --platform=linux/arm64"
96
-
97
- docker_manifests :
98
- - use : docker
99
- name_template : ghcr.io/gptscript-ai/gptscript:v{{ .Version }}
100
- image_templates :
101
- - ghcr.io/gptscript-ai/gptscript:v{{ .Version }}-amd64
102
- - ghcr.io/gptscript-ai/gptscript:v{{ .Version }}-arm64
103
- - use : docker
104
- name_template : ghcr.io/gptscript-ai/gptscript:latest
105
- image_templates :
106
- - ghcr.io/gptscript-ai/gptscript:v{{ .Version }}-amd64
107
- - ghcr.io/gptscript-ai/gptscript:v{{ .Version }}-arm64
You can’t perform that action at this time.
0 commit comments