Skip to content

Commit

Permalink
Merge pull request #2 from OSGP/fix-release-build
Browse files Browse the repository at this point in the history
Adjust build files for GXF fork
  • Loading branch information
jasperkamerling authored Nov 13, 2023
2 parents 6e710b8 + bd6f791 commit 8278192
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 25 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ jobs:
- name: Login to registry
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
with:
registry: quay.io
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Run Mage
uses: magefile/mage-action@6a5dcb5fe61f43d7c08a98bc3cf9bc63c308c08e # v3.0.0
Expand Down
44 changes: 22 additions & 22 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ dockers:
dockerfile: Dockerfile
use: buildx
image_templates:
- quay.io/helmpack/chart-releaser:{{ .Tag }}-amd64
- quay.io/helmpack/chart-releaser:latest-amd64
- ghcr.io/osgp/chart-releaser:{{ .Tag }}-amd64
- ghcr.io/osgp/chart-releaser:latest-amd64
build_flag_templates:
- "--platform=linux/amd64"
- --label=org.label-schema.schema-version=1.0
Expand All @@ -77,8 +77,8 @@ dockers:
dockerfile: Dockerfile
use: buildx
image_templates:
- quay.io/helmpack/chart-releaser:{{ .Tag }}-arm64
- quay.io/helmpack/chart-releaser:latest-arm64
- ghcr.io/osgp/chart-releaser:{{ .Tag }}-arm64
- ghcr.io/osgp/chart-releaser:latest-arm64
build_flag_templates:
- "--platform=linux/arm64"
- --label=org.label-schema.schema-version=1.0
Expand All @@ -95,8 +95,8 @@ dockers:
dockerfile: Dockerfile
use: buildx
image_templates:
- quay.io/helmpack/chart-releaser:{{ .Tag }}-armv7
- quay.io/helmpack/chart-releaser:latest-armv7
- ghcr.io/osgp/chart-releaser:{{ .Tag }}-armv7
- ghcr.io/osgp/chart-releaser:latest-armv7
build_flag_templates:
- "--platform=linux/arm/v7"
- --label=org.label-schema.schema-version=1.0
Expand All @@ -112,8 +112,8 @@ dockers:
dockerfile: Dockerfile
use: buildx
image_templates:
- quay.io/helmpack/chart-releaser:{{ .Tag }}-s390x
- quay.io/helmpack/chart-releaser:latest-s390x
- ghcr.io/osgp/chart-releaser:{{ .Tag }}-s390x
- ghcr.io/osgp/chart-releaser:latest-s390x
build_flag_templates:
- "--platform=linux/s390x"
- --label=org.label-schema.schema-version=1.0
Expand All @@ -129,8 +129,8 @@ dockers:
dockerfile: Dockerfile
use: buildx
image_templates:
- quay.io/helmpack/chart-releaser:{{ .Tag }}-ppc64le
- quay.io/helmpack/chart-releaser:latest-ppc64le
- ghcr.io/osgp/chart-releaser:{{ .Tag }}-ppc64le
- ghcr.io/osgp/chart-releaser:latest-ppc64le
build_flag_templates:
- "--platform=linux/ppc64le"
- --label=org.label-schema.schema-version=1.0
Expand All @@ -141,20 +141,20 @@ dockers:
- --label=org.label-schema.vendor=Helm

docker_manifests:
- name_template: quay.io/helmpack/chart-releaser:{{ .Tag }}
- name_template: ghcr.io/osgp/chart-releaser:{{ .Tag }}
image_templates:
- quay.io/helmpack/chart-releaser:{{ .Tag }}-amd64
- quay.io/helmpack/chart-releaser:{{ .Tag }}-arm64
- quay.io/helmpack/chart-releaser:{{ .Tag }}-armv7
- quay.io/helmpack/chart-releaser:{{ .Tag }}-s390x
- quay.io/helmpack/chart-releaser:{{ .Tag }}-ppc64le
- name_template: quay.io/helmpack/chart-releaser:latest
- ghcr.io/osgp/chart-releaser:{{ .Tag }}-amd64
- ghcr.io/osgp/chart-releaser:{{ .Tag }}-arm64
- ghcr.io/osgp/chart-releaser:{{ .Tag }}-armv7
- ghcr.io/osgp/chart-releaser:{{ .Tag }}-s390x
- ghcr.io/osgp/chart-releaser:{{ .Tag }}-ppc64le
- name_template: ghcr.io/osgp/chart-releaser:latest
image_templates:
- quay.io/helmpack/chart-releaser:latest-amd64
- quay.io/helmpack/chart-releaser:latest-arm64
- quay.io/helmpack/chart-releaser:latest-armv7
- quay.io/helmpack/chart-releaser:latest-s390x
- quay.io/helmpack/chart-releaser:latest-ppc64le
- ghcr.io/osgp/chart-releaser:latest-amd64
- ghcr.io/osgp/chart-releaser:latest-arm64
- ghcr.io/osgp/chart-releaser:latest-armv7
- ghcr.io/osgp/chart-releaser:latest-s390x
- ghcr.io/osgp/chart-releaser:latest-ppc64le

signs:
- id: all
Expand Down

0 comments on commit 8278192

Please sign in to comment.