Skip to content

Commit

Permalink
chore: temporarily disable docker ci
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Hale <[email protected]>
  • Loading branch information
njhale committed Feb 13, 2024
1 parent 7321fb2 commit f4751f4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 77 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,6 @@ jobs:
with:
cache: false
go-version: "1.22"
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
with:
buildkitd-flags: --debug
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
Expand All @@ -59,14 +46,3 @@ jobs:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Push Docker Images
run: |
VERSION=v$(cat releases/metadata.json | jq -r .version)
IMAGES=$(docker images --format "{{.Repository}}:{{.Tag}}" | grep "$VERSION")
for i in ${IMAGES}; do
docker push $i
done
docker manifest create ghcr.io/gptscript-ai/gptscript:main ${IMAGES}
docker manifest push ghcr.io/gptscript-ai/gptscript:main
docker manifest create ghcr.io/gptscript-ai/gptscript:${VERSION} ${IMAGES}
docker manifest push ghcr.io/gptscript-ai/gptscript:${VERSION}
13 changes: 0 additions & 13 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,6 @@ jobs:
with:
cache: false
go-version: "1.22"
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
with:
buildkitd-flags: --debug
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
Expand Down
40 changes: 0 additions & 40 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,43 +65,3 @@ brews:
owner: gptscript-ai
name: homebrew-tap
token: "{{ .Env.GH_PROJECT_TOKEN }}"

dockers:
- use: buildx
goos: linux
goarch: amd64
image_templates:
- ghcr.io/gptscript-ai/gptscript:v{{ .Version }}-amd64
build_flag_templates:
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.title={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
- "--label=org.opencontainers.image.source=https://github.com/gptscript-ai/gptscript"
- "--platform=linux/amd64"
- use: buildx
goos: linux
goarch: arm64
image_templates:
- ghcr.io/gptscript-ai/gptscript:v{{ .Version }}-arm64
build_flag_templates:
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.title={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
- "--label=org.opencontainers.image.source=https://github.com/gptscript-ai/gptscript"
- "--platform=linux/arm64"

docker_manifests:
- use: docker
name_template: ghcr.io/gptscript-ai/gptscript:v{{ .Version }}
image_templates:
- ghcr.io/gptscript-ai/gptscript:v{{ .Version }}-amd64
- ghcr.io/gptscript-ai/gptscript:v{{ .Version }}-arm64
- use: docker
name_template: ghcr.io/gptscript-ai/gptscript:latest
image_templates:
- ghcr.io/gptscript-ai/gptscript:v{{ .Version }}-amd64
- ghcr.io/gptscript-ai/gptscript:v{{ .Version }}-arm64

0 comments on commit f4751f4

Please sign in to comment.