Skip to content

Commit

Permalink
Merge pull request #165 from crazy-max/update-compose-branch
Browse files Browse the repository at this point in the history
pkg(compose): update default branch
  • Loading branch information
crazy-max committed Aug 10, 2023
2 parents 600b92c + 1f63b41 commit 11400a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions pkg/compose/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@

include ../../common/vars.mk

# https://github.com/docker/compose/blob/v2/Dockerfile#L18
# https://github.com/docker/compose/blob/main/Dockerfile#L18
export GO_VERSION = 1.20.5

DESTDIR ?= $(BASEDIR)/bin
BAKE_DEFINITIONS ?= -f docker-bake.hcl -f ../../common/packages.hcl

export COMPOSE_REPO := $(if $(COMPOSE_REPO),$(COMPOSE_REPO),https://github.com/docker/compose.git)
export COMPOSE_REF := $(if $(COMPOSE_REF),$(COMPOSE_REF),v2)
export COMPOSE_REF := $(if $(COMPOSE_REF),$(COMPOSE_REF),main)

PKG_LIST ?= deb rpm static
# supported platforms: https://github.com/docker/compose/blob/v2/docker-bake.hcl#L95-L107
# supported platforms: https://github.com/docker/compose/blob/main/docker-bake.hcl#L95-L107
# FIXME: add linux/ppc64le when a remote PowerPC instance is available (too slow with QEMU)
# FIXME: add linux/s390x when remote instance is reachable again (too slow with QEMU)
PKG_PLATFORMS ?= darwin/amd64 darwin/arm64 linux/amd64 linux/arm/v5 linux/arm/v6 linux/arm/v7 linux/arm64 linux/riscv64 windows/amd64 windows/arm64
Expand Down
2 changes: 1 addition & 1 deletion pkg/compose/docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ variable "COMPOSE_REPO" {

# Sets the compose ref.
variable "COMPOSE_REF" {
default = "v2"
default = "main"
}

# set to 1 to enforce nightly build
Expand Down

0 comments on commit 11400a3

Please sign in to comment.