diff --git a/.github/actions/kustomize/Dockerfile b/.github/actions/kustomize/Dockerfile deleted file mode 100644 index 2ebd6334..00000000 --- a/.github/actions/kustomize/Dockerfile +++ /dev/null @@ -1,6 +0,0 @@ -FROM giantswarm/tiny-tools - -COPY entrypoint.sh /entrypoint.sh -RUN chmod +x /entrypoint.sh - -ENTRYPOINT ["/entrypoint.sh"] diff --git a/.github/actions/kustomize/action.yml b/.github/actions/kustomize/action.yml deleted file mode 100644 index bd53d1d7..00000000 --- a/.github/actions/kustomize/action.yml +++ /dev/null @@ -1,9 +0,0 @@ -name: 'kustomize' -description: 'A GitHub Action to run kustomize commands' -author: 'Stefan Prodan' -branding: - icon: 'command' - color: 'blue' -runs: - using: 'docker' - image: 'Dockerfile' diff --git a/.github/actions/kustomize/entrypoint.sh b/.github/actions/kustomize/entrypoint.sh deleted file mode 100644 index b9d560c9..00000000 --- a/.github/actions/kustomize/entrypoint.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -l - -VERSION=3.5.4 -curl -sL https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv${VERSION}/kustomize_v${VERSION}_linux_amd64.tar.gz | tar xz - -mkdir -p $GITHUB_WORKSPACE/bin -cp ./kustomize $GITHUB_WORKSPACE/bin -chmod +x $GITHUB_WORKSPACE/bin/kustomize -ls -lh $GITHUB_WORKSPACE/bin - -echo "::add-path::$GITHUB_WORKSPACE/bin" -echo "::add-path::$RUNNER_WORKSPACE/$(basename $GITHUB_REPOSITORY)/bin" diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 417b93b6..60efd6b3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -24,9 +24,9 @@ jobs: - name: Generate release notes run: | echo 'CHANGELOG' > /tmp/release.txt - github-release-notes -org fluxcd -repo toolkit -since-latest-release >> /tmp/release.txt + github-release-notes -org fluxcd -repo toolkit -since-latest-release -include-author >> /tmp/release.txt - name: Setup Kustomize - uses: ./.github/actions/kustomize + uses: fluxcd/pkg//actions/kustomize@master - name: Generate manifests tarball run: | mkdir -p ./output