Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

Commit

Permalink
Remove assets, builds epinio-installer-noassets now
Browse files Browse the repository at this point in the history
  • Loading branch information
manno committed Feb 4, 2022
1 parent ba00837 commit 58f67d2
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 8,243 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: goreleaser
name: Release Installer without assets

on:
push:
Expand Down Expand Up @@ -26,12 +26,6 @@ jobs:
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
# -
# name: Login to DockerHub
# uses: docker/login-action@v1
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_PASSWORD }}
-
name: Login to GitHub Docker Registry
uses: docker/login-action@v1
Expand Down
20 changes: 3 additions & 17 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ snapshot:
dockers:
-
# ID of the image, needed if you want to filter by it later on (e.g. on custom publishers).
id: epinio-installer
id: epinio-installer-noassets

# GOOS of the built binaries/packages that should be used.
goos: linux
Expand All @@ -55,10 +55,8 @@ dockers:

# Templates of the Docker image names.
image_templates:
#- "splatform/epinio-installer:{{ .Tag }}"
#- "splatform/epinio-installer:latest"
- "ghcr.io/epinio/epinio-installer:{{ .Tag }}"
- "ghcr.io/epinio/epinio-installer:latest"
- "ghcr.io/epinio/epinio-installer-noassets:{{ .Tag }}"
- "ghcr.io/epinio/epinio-installer-noassets:latest"

# Skips the docker push.
#skip_push: "true"
Expand All @@ -82,15 +80,3 @@ dockers:
- "--build-arg=KUBECTL_CHECKSUM={{.Env.KUBECTL_CHECKSUM}}"
- "--build-arg=DIST_BINARY=epinio-installer"
- "--platform=linux/amd64"

# If your Dockerfile copies files other than binaries and packages,
# you should list them here as well.
# Note that GoReleaser will create the same structure inside a temporary
# folder, so if you add `foo/bar.json` here, on your Dockerfile you can
# `COPY foo/bar.json /whatever.json`.
# Also note that the paths here are relative to the folder in which
# GoReleaser is being run (usually the repository root folder).
# This field does not support wildcards, you can add an entire folder here
# and use wildcards when you `COPY`/`ADD` in your Dockerfile.
extra_files:
- assets/installer
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,3 @@ COPY --from=downloader /helm /usr/local/bin/helm
COPY --from=downloader /kubectl /usr/local/bin/kubectl
# This works, because the image is built by goreleaser
COPY ${DIST_BINARY} /usr/local/bin/epinio-installer
COPY assets/installer /assets/installer
Binary file removed assets/installer/cert-manager-v1.5.4.tgz
Binary file not shown.
Binary file removed assets/installer/kubed-v0.12.0.tgz
Binary file not shown.
59 changes: 0 additions & 59 deletions assets/installer/linkerd-job.yaml

This file was deleted.

Loading

0 comments on commit 58f67d2

Please sign in to comment.