Skip to content

Commit

Permalink
build: only build linux/amd64
Browse files Browse the repository at this point in the history
  • Loading branch information
toindev committed Dec 18, 2024
1 parent 27fa4c3 commit 49694c9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/continuous_delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ jobs:
env:
LINUX_AMD64_RELEASE: "true"
run: |
make release GOTENBERG_VERSION=${{ github.event.release.tag_name }}
make release GOTENBERG_VERSION=${{ github.event.release.tag_name }} DOCKER_REPOSITORY=ghcr.io/fulll/gotenberg
make release CHROME_VERSION=127.0.6533.119-1 GOTENBERG_VERSION=${{ github.event.release.tag_name }} DOCKER_REGISTRY=ghcr.io/fulll DOCKER_REPOSITORY=gotenberg
- name: generate aws credentials config
env:
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ help: ## Show the help
it: build build-tests ## Initialize the development environment

GOLANG_VERSION=1.23
DOCKER_REPOSITORY=ghcr.io/fulll/gotenberg
DOCKER_REGISTRY=ghcr.io/fulll
DOCKER_REPOSITORY=gotenberg
GOTENBERG_VERSION=snapshot
GOTENBERG_USER_GID=1001
GOTENBERG_USER_UID=1001
Expand Down
6 changes: 1 addition & 5 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,7 @@ else
fi

# Multi-arch build takes a lot of time.
if [ "$LINUX_AMD64_RELEASE" = true ]; then
PLATFORM_FLAG="--platform linux/amd64"
else
PLATFORM_FLAG="--platform linux/amd64,linux/arm64,linux/386,linux/arm/v7"
fi
PLATFORM_FLAG="--platform linux/amd64"

docker buildx build \
--build-arg GOLANG_VERSION="$GOLANG_VERSION" \
Expand Down

0 comments on commit 49694c9

Please # to comment.