Skip to content

Commit

Permalink
feat: update build-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jirevwe committed Aug 21, 2024
1 parent db719fb commit f246c1c
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 260 deletions.
78 changes: 0 additions & 78 deletions .github/workflows/release-ee.yml

This file was deleted.

12 changes: 0 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,6 @@ jobs:
path: api/ui/build
fetch-depth: 0

- uses: docker/login-action@v1
name: Authenticate with Docker
with:
registry: docker.cloudsmith.io
username: ${{ secrets.CLOUDSMITH_USERNAME }}
password: ${{ secrets.CLOUDSMITH_API_KEY }}

- uses: actions/setup-go@v2
name: Setup go
with:
go-version: '1.21'

- uses: docker/setup-qemu-action@v3
name: Set up QEMU

Expand Down
100 changes: 0 additions & 100 deletions .publisher-ee.yml

This file was deleted.

70 changes: 0 additions & 70 deletions .publisher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,76 +87,6 @@ brews:
name: homebrew-tools
url_template: https://dl.cloudsmith.io/public/convoy/convoy/raw/versions/{{.Version}}/{{ .ArtifactName }}

dockers:
- image_templates:
- "docker.cloudsmith.io/convoy/convoy/{{ .Env.REPO_NAME }}:latest-amd64"
- "docker.cloudsmith.io/convoy/convoy/{{ .Env.REPO_NAME }}:{{ .Tag }}-amd64"
use: buildx
goos: linux
goarch: amd64
dockerfile: release.Dockerfile
extra_files:
- configs/local/start.sh
ids:
- cobin
build_flag_templates:
- --platform=linux/amd64
- --label=org.opencontainers.image.title={{ .ProjectName }}
- --label=org.opencontainers.image.description=A fast & secure open source webhooks service
- --label=org.opencontainers.image.url=https://github.com/{{ .Env.REPO_NAME }}
- --label=org.opencontainers.image.source=https://github.com/{{ .Env.REPO_NAME }}
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
- --label=org.opencontainers.image.licenses=MPL-2.0

- image_templates:
- "docker.cloudsmith.io/convoy/convoy/{{ .Env.REPO_NAME }}:latest-arm64"
- "docker.cloudsmith.io/convoy/convoy/{{ .Env.REPO_NAME }}:{{ .Tag }}-arm64"
use: buildx
goos: linux
goarch: arm64
dockerfile: release.Dockerfile
extra_files:
- configs/local/start.sh
ids:
- cobin
build_flag_templates:
- --platform=linux/arm64
- --label=org.opencontainers.image.title={{ .ProjectName }}
- --label=org.opencontainers.image.description=A fast & secure open source webhooks service
- --label=org.opencontainers.image.url=https://github.com/{{ .Env.REPO_NAME }}
- --label=org.opencontainers.image.source=https://github.com/{{ .Env.REPO_NAME }}
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
- --label=org.opencontainers.image.licenses=MPL-2.0

- image_templates:
- "docker.cloudsmith.io/convoy/convoy/{{ .Env.REPO_NAME }}:latest-slim"
- "docker.cloudsmith.io/convoy/convoy/{{ .Env.REPO_NAME }}:{{ .Tag }}-slim"
use: buildx
goos: linux
goarch: amd64
dockerfile: slim.Dockerfile
ids:
- cobin
build_flag_templates:
- --platform=linux/amd64
- --label=org.opencontainers.image.title={{ .ProjectName }}
- --label=org.opencontainers.image.description=A fast & secure open source webhooks service
- --label=org.opencontainers.image.url=https://github.com/{{ .Env.REPO_NAME }}
- --label=org.opencontainers.image.source=https://github.com/{{ .Env.REPO_NAME }}
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
- --label=org.opencontainers.image.licenses=MPL-2.0

docker_manifests:
- name_template: "docker.cloudsmith.io/convoy/convoy/{{ .Env.REPO_NAME }}:{{ .Tag }}"
image_templates:
- "docker.cloudsmith.io/convoy/convoy/{{ .Env.REPO_NAME }}:{{ .Tag }}-amd64"
- "docker.cloudsmith.io/convoy/convoy/{{ .Env.REPO_NAME }}:{{ .Tag }}-arm64"

- name_template: "docker.cloudsmith.io/convoy/convoy/{{ .Env.REPO_NAME }}:latest"
image_templates:
- "docker.cloudsmith.io/convoy/convoy/{{ .Env.REPO_NAME }}:latest-amd64"
- "docker.cloudsmith.io/convoy/convoy/{{ .Env.REPO_NAME }}:latest-arm64"

checksum:
name_template: "{{ .ProjectName}}_checksums.txt"

Expand Down

0 comments on commit f246c1c

Please sign in to comment.