From bd6f791b15f78f43df469e20bb9ae45619171756 Mon Sep 17 00:00:00 2001 From: Jasper Kamerling Date: Mon, 13 Nov 2023 08:39:42 +0100 Subject: [PATCH] Adjust build files for GXF fork Signed-off-by: Jasper Kamerling --- .github/workflows/release.yaml | 6 ++--- .goreleaser.yml | 44 +++++++++++++++++----------------- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6a36bb90..19c0e9bf 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 diff --git a/.goreleaser.yml b/.goreleaser.yml index a01d8ff3..3d6a7887 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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