Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions .github/workflows/release-buildx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ on:
- cron: '0 1 * * 0' # every sunday at 1am
workflow_dispatch:
inputs:
repo:
description: 'Override repo'
required: false
type: string
ref:
description: 'Override ref'
description: 'Ref (e.g. v0.10.0)'
required: true

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now version/ref is required when creating a release. Previously it takes the default one being set in Makefile/Bake definition.

type: string
repo:
description: 'Override default repo'
required: false
type: string
release:
Expand All @@ -41,5 +41,4 @@ jobs:
name: buildx
env: |
NIGHTLY_BUILD=1
BUILDX_REF=master
secrets: inherit
11 changes: 5 additions & 6 deletions .github/workflows/release-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ on:
- cron: '0 2 * * 0' # every sunday at 2am
workflow_dispatch:
inputs:
repo:
description: 'Override repo'
required: false
type: string
ref:
description: 'Override ref'
description: 'Ref (e.g. v2.15.1)'
required: true
type: string
repo:
description: 'Override default repo'
required: false
type: string
release:
Expand All @@ -41,5 +41,4 @@ jobs:
name: compose
env: |
NIGHTLY_BUILD=1
COMPOSE_REF=v2
secrets: inherit
11 changes: 5 additions & 6 deletions .github/workflows/release-containerd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ on:
- cron: '0 3 * * 0' # every sunday at 3am
workflow_dispatch:
inputs:
repo:
description: 'Override repo'
required: false
type: string
ref:
description: 'Override ref'
description: 'Ref (e.g. v1.6.15)'
required: true
type: string
repo:
description: 'Override default repo'
required: false
type: string
runc_repo:
Expand Down Expand Up @@ -51,5 +51,4 @@ jobs:
name: containerd
env: |
NIGHTLY_BUILD=1
CONTAINERD_REF=main
secrets: inherit
11 changes: 5 additions & 6 deletions .github/workflows/release-credential-helpers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ on:
- cron: '0 4 * * 0' # every sunday at 4am
workflow_dispatch:
inputs:
repo:
description: 'Override repo'
required: false
type: string
ref:
description: 'Override ref'
description: 'Ref (e.g. v1.7.0)'
required: true
type: string
repo:
description: 'Override default repo'
required: false
type: string
release:
Expand All @@ -41,5 +41,4 @@ jobs:
name: credential-helpers
env: |
NIGHTLY_BUILD=1
CREDENTIAL_HELPERS_REF=master
secrets: inherit
11 changes: 5 additions & 6 deletions .github/workflows/release-docker-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ on:
- cron: '0 5 * * 0' # every sunday at 5am
workflow_dispatch:
inputs:
repo:
description: 'Override repo'
required: false
type: string
ref:
description: 'Override ref'
description: 'Ref (e.g. v23.0.0)'
required: true
type: string
repo:
description: 'Override default repo'
required: false
type: string
release:
Expand All @@ -41,5 +41,4 @@ jobs:
name: docker-cli
env: |
NIGHTLY_BUILD=1
DOCKER_CLI_REF=master
secrets: inherit
11 changes: 5 additions & 6 deletions .github/workflows/release-docker-engine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ on:
- cron: '0 6 * * 0' # every sunday at 6am
workflow_dispatch:
inputs:
repo:
description: 'Override repo'
required: false
type: string
ref:
description: 'Override ref'
description: 'Ref (e.g. v23.0.0)'
required: true
type: string
repo:
description: 'Override default repo'
required: false
type: string
release:
Expand All @@ -41,5 +41,4 @@ jobs:
name: docker-engine
env: |
NIGHTLY_BUILD=1
DOCKER_ENGINE_REF=master
secrets: inherit
11 changes: 5 additions & 6 deletions .github/workflows/release-sbom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ on:
- cron: '0 7 * * 0' # every sunday at 7am
workflow_dispatch:
inputs:
repo:
description: 'Override repo'
required: false
type: string
ref:
description: 'Override ref'
description: 'Ref (e.g. v0.6.1)'
required: true
type: string
repo:
description: 'Override default repo'
required: false
type: string
release:
Expand All @@ -41,5 +41,4 @@ jobs:
name: sbom
env: |
NIGHTLY_BUILD=1
SBOM_REF=main
secrets: inherit
11 changes: 5 additions & 6 deletions .github/workflows/release-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ on:
- cron: '0 8 * * 0' # every sunday at 8am
workflow_dispatch:
inputs:
repo:
description: 'Override repo'
required: false
type: string
ref:
description: 'Override ref'
description: 'Ref (e.g. v0.23.0)'
required: true
type: string
repo:
description: 'Override default repo'
required: false
type: string
release:
Expand All @@ -41,5 +41,4 @@ jobs:
name: scan
env: |
NIGHTLY_BUILD=1
SCAN_REF=main
secrets: inherit
6 changes: 3 additions & 3 deletions pkg/buildx/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/buildx/blob/eab3f704f53577310c2d05700ab663f8a7ad4c8e/Dockerfile#L3
# https://github.com/docker/buildx/blob/master/Dockerfile#L3
export GO_VERSION = 1.19

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

export BUILDX_REPO := $(if $(BUILDX_REPO),$(BUILDX_REPO),https://github.com/docker/buildx.git)
export BUILDX_REF := $(if $(BUILDX_REF),$(BUILDX_REF),v0.10.0)
export BUILDX_REF := $(if $(BUILDX_REF),$(BUILDX_REF),master)

PKG_LIST ?= deb rpm static
# supported platforms: https://github.com/docker/buildx/blob/e98c2524905e659d34ac01cc328cd21c966be3f2/docker-bake.hcl#L112-L124
# supported platforms: https://github.com/docker/buildx/blob/master/docker-bake.hcl#L110-L122
# FIXME: add linux/ppc64le when a remote PowerPC instance is available (too slow with QEMU)
PKG_PLATFORMS ?= darwin/amd64 darwin/arm64 linux/amd64 linux/arm/v6 linux/arm/v7 linux/arm64 linux/riscv64 linux/s390x windows/amd64 windows/arm64

Expand Down
2 changes: 1 addition & 1 deletion pkg/buildx/docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ variable "BUILDX_REPO" {

# Sets the buildx ref.
variable "BUILDX_REF" {
default = "v0.10.0"
default = "master"
}

# set to 1 to enforce nightly build
Expand Down
2 changes: 1 addition & 1 deletion pkg/compose/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ARG DEBIAN_FRONTEND="noninteractive"

# common args
ARG GO_IMAGE="golang"
ARG GO_VERSION="1.18.5"
ARG GO_VERSION="1.19.4"
ARG GO_IMAGE_VARIANT="bullseye"
ARG PKG_RELEASE="debian11"
ARG PKG_TYPE="deb"
Expand Down
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.15.1/Dockerfile#L18
# https://github.com/docker/compose/blob/v2/Dockerfile#L18
export GO_VERSION = 1.19.4

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.15.1)
export COMPOSE_REF := $(if $(COMPOSE_REF),$(COMPOSE_REF),v2)

PKG_LIST ?= deb rpm static
# supported platforms: https://github.com/docker/compose/blob/e2a3fe94273b05a1428652ba248edeee4171427f/docker-bake.hcl#L95-L107
# supported platforms: https://github.com/docker/compose/blob/v2/docker-bake.hcl#L95-L107
# FIXME: add linux/ppc64le when a remote PowerPC instance is available (too slow with QEMU)
PKG_PLATFORMS ?= darwin/amd64 darwin/arm64 linux/amd64 linux/arm/v6 linux/arm/v7 linux/arm64 linux/riscv64 linux/s390x 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.15.1"
default = "v2"
}

# set to 1 to enforce nightly build
Expand Down
6 changes: 3 additions & 3 deletions pkg/containerd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
ARG XX_VERSION="1.1.2"
ARG DEBIAN_FRONTEND="noninteractive"

# https://github.com/containerd/containerd/blob/v1.6.15/.github/workflows/ci.yml#L125
ARG MD2MAN_VERSION="v2.0.1"
# https://github.com/containerd/containerd/blob/main/.github/workflows/ci.yml#L132
ARG MD2MAN_VERSION="v2.0.2"

# common args
ARG GO_IMAGE="golang"
ARG GO_VERSION="1.18.9"
ARG GO_VERSION="1.19.4"
ARG GO_IMAGE_VARIANT="bullseye"
ARG PKG_RELEASE="debian11"
ARG PKG_TYPE="deb"
Expand Down
8 changes: 4 additions & 4 deletions pkg/containerd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@

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

# https://github.com/containerd/containerd/blob/v1.6.15/.github/workflows/release.yml#L9
export GO_VERSION = 1.18.9
# https://github.com/containerd/containerd/blob/main/.github/workflows/release.yml#L9
export GO_VERSION = 1.19.4

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

export CONTAINERD_REPO := $(if $(CONTAINERD_REPO),$(CONTAINERD_REPO),https://github.com/containerd/containerd.git)
export CONTAINERD_REF := $(if $(CONTAINERD_REF),$(CONTAINERD_REF),v1.6.15)
export CONTAINERD_REF := $(if $(CONTAINERD_REF),$(CONTAINERD_REF),main)
export RUNC_REPO := $(if $(RUNC_REPO),$(RUNC_REPO),https://github.com/opencontainers/runc.git)
export RUNC_REF := $(if $(RUNC_REF),$(RUNC_REF),)

export PKG_DEB_REVISION = 1

PKG_LIST ?= deb rpm static
# supported platforms: https://github.com/containerd/containerd/blob/v1.6.15/.github/workflows/ci.yml#L138-L156
# supported platforms: https://github.com/containerd/containerd/blob/main/.github/workflows/ci.yml#L145-L165
# FIXME: can't build static binaries with containerd Makefile for darwin/amd64 darwin/arm64 windows/amd64 platforms
# FIXME: linux/riscv64 needs ubuntu:22.04 image
# FIXME: add linux/ppc64le when a remote PowerPC instance is available (too slow with QEMU)
Expand Down
4 changes: 2 additions & 2 deletions pkg/containerd/docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ variable "CONTAINERD_REPO" {

# Sets the containerd ref.
variable "CONTAINERD_REF" {
default = "v1.6.15"
default = "main"
}

# In case we want to set runc to a specific version instead of using
Expand All @@ -43,7 +43,7 @@ variable "GO_IMAGE" {
default = "golang"
}
variable "GO_VERSION" {
default = "1.18.9"
default = "1.19.4"
}
variable "GO_IMAGE_VARIANT" {
default = "bullseye"
Expand Down
6 changes: 3 additions & 3 deletions pkg/credential-helpers/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/docker-credential-helpers/blob/ac5992b5f4756fc0398a7d0c93c609e624368bde/Dockerfile#L3
# https://github.com/docker/docker-credential-helpers/blob/master/Dockerfile#L3
export GO_VERSION = 1.18.5

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

export CREDENTIAL_HELPERS_REPO := $(if $(CREDENTIAL_HELPERS_REPO),$(CREDENTIAL_HELPERS_REPO),https://github.com/docker/docker-credential-helpers.git)
export CREDENTIAL_HELPERS_REF := $(if $(CREDENTIAL_HELPERS_REF),$(CREDENTIAL_HELPERS_REF),v0.7.0)
export CREDENTIAL_HELPERS_REF := $(if $(CREDENTIAL_HELPERS_REF),$(CREDENTIAL_HELPERS_REF),master)

PKG_LIST ?= deb rpm static
# supported platforms: https://github.com/docker/docker-credential-helpers/blob/ac5992b5f4756fc0398a7d0c93c609e624368bde/docker-bake.hcl#L56-L66
# supported platforms: https://github.com/docker/docker-credential-helpers/blob/master/docker-bake.hcl#L56-L66
# FIXME: add linux/ppc64le when a remote PowerPC instance is available (too slow with QEMU)
PKG_PLATFORMS ?= darwin/amd64 darwin/arm64 linux/amd64 linux/arm/v6 linux/arm/v7 linux/arm64 linux/s390x windows/amd64

Expand Down
2 changes: 1 addition & 1 deletion pkg/credential-helpers/docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ variable "CREDENTIAL_HELPERS_REPO" {

# Sets the credential helpers ref.
variable "CREDENTIAL_HELPERS_REF" {
default = "v0.7.0"
default = "master"
}

# set to 1 to enforce nightly build
Expand Down
2 changes: 1 addition & 1 deletion pkg/docker-cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
ARG XX_VERSION="1.1.2"
ARG DEBIAN_FRONTEND="noninteractive"

# https://github.com/docker/cli/blob/v23.0.0-rc.1/Dockerfile#L7
# https://github.com/docker/cli/blob/master/Dockerfile#L7
ARG GOVERSIONINFO_VERSION="v1.3.0"

# common args
Expand Down
6 changes: 3 additions & 3 deletions pkg/docker-cli/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@

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

# https://github.com/docker/cli/blob/v23.0.0-rc.1/Dockerfile#L4
# https://github.com/docker/cli/blob/master/Dockerfile#L4
export GO_VERSION = 1.19.4

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

export DOCKER_CLI_REPO := $(if $(DOCKER_CLI_REPO),$(DOCKER_CLI_REPO),https://github.com/docker/cli.git)
export DOCKER_CLI_REF := $(if $(DOCKER_CLI_REF),$(DOCKER_CLI_REF),v23.0.0-rc.1)
export DOCKER_CLI_REF := $(if $(DOCKER_CLI_REF),$(DOCKER_CLI_REF),master)

export PKG_DEB_REVISION = 3
export PKG_RPM_RELEASE = 3

PKG_LIST ?= deb rpm static
# supported platforms: https://github.com/docker/cli/blob/3e9117b7e241439e314eaf6fe944b4019fbaa941/docker-bake.hcl#L65-L67
# supported platforms: https://github.com/docker/cli/blob/master/docker-bake.hcl#L30-L42
# FIXME: add linux/ppc64le when a remote PowerPC instance is available (too slow with QEMU)
PKG_PLATFORMS ?= darwin/amd64 darwin/arm64 linux/386 linux/amd64 linux/arm/v6 linux/arm/v7 linux/arm64 linux/riscv64 linux/s390x windows/amd64 windows/arm64

Expand Down
2 changes: 1 addition & 1 deletion pkg/docker-cli/docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ variable "DOCKER_CLI_REPO" {

# Sets the docker cli ref.
variable "DOCKER_CLI_REF" {
default = "v23.0.0-rc.1"
default = "master"
}

# set to 1 to enforce nightly build
Expand Down
Loading