diff --git a/.goreleaser.yml b/.goreleaser.yml index 50a7f4a2..ab00bee0 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -14,20 +14,6 @@ builds: archives: - name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}" -dockers: - - image_templates: - - "sapcc/absent-metrics-operator:{{ .Tag }}" - - "sapcc/absent-metrics-operator:latest" - dockerfile: Dockerfile.goreleaser - build_flag_templates: - - "--pull" - - "--label=org.opencontainers.image.created={{.Date}}" - - "--label=org.opencontainers.image.revision={{.FullCommit}}" - - "--label=org.opencontainers.image.source={{.GitURL}}" - - "--label=org.opencontainers.image.title={{.ProjectName}}" - - "--label=org.opencontainers.image.version={{.Version}}" - - "--label=source_repository={{.GitURL}}" # this label is needed for Keppel - checksum: name_template: "checksums.txt" diff --git a/Dockerfile.goreleaser b/Dockerfile.goreleaser deleted file mode 100644 index 5d8d1499..00000000 --- a/Dockerfile.goreleaser +++ /dev/null @@ -1,13 +0,0 @@ -# vim: set filetype=dockerfile: - -# This Dockerfile is used by GoReleaser. -# We use this additional file instead of the regular Dockerfile because when GoReleaser -# runs, it also compiles the required binary which can be subsequently used for this -# Dockerfile. -# This saves extra work and time in our CI release workflow. -FROM alpine:latest - -# No need for source_repository label here, it will be added by GoReleaser. -RUN apk add --no-cache ca-certificates -COPY absent-metrics-operator /usr/bin/ -ENTRYPOINT [ "/usr/bin/absent-metrics-operator" ] diff --git a/README.md b/README.md index 0ac90fef..0ea43fb0 100644 --- a/README.md +++ b/README.md @@ -87,10 +87,9 @@ annotations: ## Usage -We provide pre-compiled binaries and container images. See the latest -[release](https://github.com/sapcc/absent-metrics-operator/releases/latest). +You can download pre-compiled binaries for the [latest release](https://github.com/sapcc/absent-metrics-operator/releases/latest). -Alternatively, you can build with `make`, install with `make install`, `go get`, or +Alternatively, you can build with `make`, install with `make install`, `go install`, or `docker build`. For usage instructions: