Skip to content

Commit

Permalink
chore: repository clean-up and multi-platform build
Browse files Browse the repository at this point in the history
  • Loading branch information
clementnuss committed Nov 24, 2021
1 parent 2c6b3cf commit e004aa3
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 50 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/build.yaml

This file was deleted.

5 changes: 3 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
mkdir -p local/envtest-bin/
setup-envtest use -p env 1.21.x --bin-dir local/envtest-bin > local/envtest-bin/env
- name: Run Unit tests
run: |
source local/envtest-bin/env
Expand Down Expand Up @@ -72,7 +73,7 @@ jobs:
run: |
export TAG=$(echo ${{ github.ref }} | cut -d "/" -f 3 - )
export COMMIT=$(git describe --abbrev=7 --always --long --match "v*" main)
ko publish ./cmd/kubelet-csr-approver/ --base-import-paths --tags $TAG
ko publish ./cmd/kubelet-csr-approver/ --base-import-paths --platform=linux/amd64,linux/arm64,linux/arm --tags $TAG
publish-untagged:
if: "!startsWith(github.ref, 'refs/tags/v')"
Expand All @@ -99,6 +100,6 @@ jobs:
- name: Run ko publish
run: |
export COMMIT=$(git describe --abbrev=7 --always --long --match "v*" main)
ko publish ./cmd/kubelet-csr-approver/ --base-import-paths
ko publish ./cmd/kubelet-csr-approver/ --base-import-paths --platform=linux/amd64,linux/arm64,linux/arm
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
13 changes: 0 additions & 13 deletions packaging/docker/Dockerfile

This file was deleted.

4 changes: 0 additions & 4 deletions packaging/docker/docker-entrypoint.sh

This file was deleted.

0 comments on commit e004aa3

Please sign in to comment.