Skip to content

Commit

Permalink
ci: build 8.3 images
Browse files Browse the repository at this point in the history
  • Loading branch information
shyim committed Jan 22, 2024
1 parent cfd7e6c commit aa12dd8
Showing 1 changed file with 26 additions and 40 deletions.
66 changes: 26 additions & 40 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,38 +48,40 @@ dockers:
goos: linux
goarch: amd64
image_templates:
- "ghcr.io/friendsofshopware/shopware-cli:{{ .Tag }}-php-8.2-amd64"
- "friendsofshopware/shopware-cli:{{ .Tag }}-php-8.2-amd64"
- "ghcr.io/friendsofshopware/shopware-cli:{{ .Tag }}-php-8.3-amd64"
- "friendsofshopware/shopware-cli:{{ .Tag }}-php-8.3-amd64"
build_flag_templates:
- "--build-arg=PHP_VERSION=8.2"
- "--build-arg=PHP_VERSION=8.3"
- "--platform=linux/amd64"
- use: buildx
goos: linux
goarch: amd64
image_templates:
- "ghcr.io/friendsofshopware/shopware-cli:{{ .Tag }}-php-8.1-amd64"
- "friendsofshopware/shopware-cli:{{ .Tag }}-php-8.1-amd64"
- "ghcr.io/friendsofshopware/shopware-cli:{{ .Tag }}-php-8.2-amd64"
- "friendsofshopware/shopware-cli:{{ .Tag }}-php-8.2-amd64"
build_flag_templates:
- "--build-arg=PHP_VERSION=8.1"
- "--build-arg=PHP_VERSION=8.2"
- "--platform=linux/amd64"
- use: buildx
goos: linux
goarch: amd64
image_templates:
- "ghcr.io/friendsofshopware/shopware-cli:{{ .Tag }}-php-7.4-amd64"
- "ghcr.io/friendsofshopware/shopware-cli:{{ .Tag }}-php-8.1-amd64"
- "friendsofshopware/shopware-cli:{{ .Tag }}-php-8.1-amd64"
build_flag_templates:
- "--build-arg=PHP_VERSION=7.4"
- "--build-arg=PHP_VERSION=8.1"
- "--platform=linux/amd64"

# ARM64
- use: buildx
goos: linux
goarch: amd64
goarch: arm64
image_templates:
- "ghcr.io/friendsofshopware/shopware-cli:{{ .Tag }}-php-7.2-amd64"
- "ghcr.io/friendsofshopware/shopware-cli:{{ .Tag }}-php-8.3-arm64"
- "friendsofshopware/shopware-cli:{{ .Tag }}-php-8.3-arm64"
build_flag_templates:
- "--build-arg=PHP_VERSION=7.2"
- "--platform=linux/amd64"

# ARM64
- "--build-arg=PHP_VERSION=8.3"
- "--platform=linux/arm64"
- use: buildx
goos: linux
goarch: arm64
Expand All @@ -98,22 +100,6 @@ dockers:
build_flag_templates:
- "--build-arg=PHP_VERSION=8.1"
- "--platform=linux/arm64"
- use: buildx
goos: linux
goarch: arm64
image_templates:
- "ghcr.io/friendsofshopware/shopware-cli:{{ .Tag }}-php-7.4-arm64"
build_flag_templates:
- "--build-arg=PHP_VERSION=7.4"
- "--platform=linux/arm64"
- use: buildx
goos: linux
goarch: arm64
image_templates:
- "ghcr.io/friendsofshopware/shopware-cli:{{ .Tag }}-php-7.2-arm64"
build_flag_templates:
- "--build-arg=PHP_VERSION=7.2"
- "--platform=linux/arm64"

docker_manifests:
# GHCR
Expand All @@ -122,6 +108,11 @@ docker_manifests:
- "ghcr.io/friendsofshopware/shopware-cli:{{ .Tag }}-php-8.2-amd64"
- "ghcr.io/friendsofshopware/shopware-cli:{{ .Tag }}-php-8.2-arm64"

- name_template: ghcr.io/friendsofshopware/shopware-cli:latest-php-8.3
image_templates:
- "ghcr.io/friendsofshopware/shopware-cli:{{ .Tag }}-php-8.3-amd64"
- "ghcr.io/friendsofshopware/shopware-cli:{{ .Tag }}-php-8.3-arm64"

- name_template: ghcr.io/friendsofshopware/shopware-cli:latest-php-8.2
image_templates:
- "ghcr.io/friendsofshopware/shopware-cli:{{ .Tag }}-php-8.2-amd64"
Expand Down Expand Up @@ -152,22 +143,17 @@ docker_manifests:
- "ghcr.io/friendsofshopware/shopware-cli:{{ .Tag }}-php-8.1-amd64"
- "ghcr.io/friendsofshopware/shopware-cli:{{ .Tag }}-php-8.1-arm64"

- name_template: ghcr.io/friendsofshopware/shopware-cli:{{ .Tag }}-php-7.4
image_templates:
- "ghcr.io/friendsofshopware/shopware-cli:{{ .Tag }}-php-7.4-amd64"
- "ghcr.io/friendsofshopware/shopware-cli:{{ .Tag }}-php-7.4-arm64"

- name_template: ghcr.io/friendsofshopware/shopware-cli:{{ .Tag }}-php-7.2
image_templates:
- "ghcr.io/friendsofshopware/shopware-cli:{{ .Tag }}-php-7.2-amd64"
- "ghcr.io/friendsofshopware/shopware-cli:{{ .Tag }}-php-7.2-arm64"

# Docker Hub
- name_template: friendsofshopware/shopware-cli:latest
image_templates:
- "friendsofshopware/shopware-cli:{{ .Tag }}-php-8.2-amd64"
- "friendsofshopware/shopware-cli:{{ .Tag }}-php-8.2-arm64"

- name_template: friendsofshopware/shopware-cli:latest-php-8.3
image_templates:
- "friendsofshopware/shopware-cli:{{ .Tag }}-php-8.3-amd64"
- "friendsofshopware/shopware-cli:{{ .Tag }}-php-8.3-arm64"

- name_template: friendsofshopware/shopware-cli:latest-php-8.2
image_templates:
- "friendsofshopware/shopware-cli:{{ .Tag }}-php-8.2-amd64"
Expand Down

0 comments on commit aa12dd8

Please sign in to comment.