Skip to content

Commit

Permalink
Fix: add create helm package
Browse files Browse the repository at this point in the history
  • Loading branch information
harlee-x committed Jul 26, 2024
1 parent 73237c2 commit abe3aa2
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/ci-chart.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Publish Chart

on:
push:
branches:
- main
- release-*
release:
types:
- published
Expand Down
26 changes: 15 additions & 11 deletions .github/workflows/ci-infra-build.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
name: CI-Infra-Build

on:
push:
branches:
- main
- release-*
workflow_dispatch: {}
pull_request:
branches:
- main
- release-*
release:
types:
- published
tags:
- v*

permissions:
contents: read
Expand Down Expand Up @@ -93,6 +89,13 @@ jobs:
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
with:
submodules: true

- name: Get Version
id: get_version
run: |
VERSION=${GITHUB_REF#refs/tags/}
echo "VERSION=${VERSION}" >> $GITHUB_OUTPUT
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7
with:
Expand All @@ -118,8 +121,9 @@ jobs:

- name: Run Build Images
run: |
make multi-arch-builder IMG_REGISTRY=${{ secrets.CONTAINER_REGISTRY }}
make publish IMG_REGISTRY=${{ secrets.CONTAINER_REGISTRY }}
version=${{ steps.get_version.outputs.VERSION }}
make multi-arch-builder IMG_REGISTRY=${{ secrets.CONTAINER_REGISTRY }} VERSION=${version}
make publish IMG_REGISTRY=${{ secrets.CONTAINER_REGISTRY }} VERSION=${version}
- name: Cleanup binary
run: make kdp-cli-clean
2 changes: 1 addition & 1 deletion makefiles/build.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##@ Docker image info
IMG ?= linktimecloud/kubernetes-data-platform:$(VERSION)
KDP_IMG ?= linktimecloud/kdp-infra:$(VERSION)
KDP_IMG ?= linktimecloud/kdp:$(VERSION)
IMG_REGISTRY ?= ""
OUTPUT_TYPE := registry
TARGETARCHS := amd64 arm64
Expand Down

0 comments on commit abe3aa2

Please sign in to comment.