Skip to content

Commit

Permalink
Merge pull request #102 from CycloneDX/release-prep
Browse files Browse the repository at this point in the history
`v1.1.0` release preparation
  • Loading branch information
nscuro committed Dec 3, 2021
2 parents 1f15606 + 8008b13 commit d42e4dc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
* Bump `golang` container base images from `1.17.2` to `1.17.3` (via [#95](https://github.com/CycloneDX/cyclonedx-gomod/pull/95))
* Reference container base images by their SHA digest ([#89](https://github.com/CycloneDX/cyclonedx-gomod/issues/89) via [#90](https://github.com/CycloneDX/cyclonedx-gomod/pull/90))
* Introduce multi-platform container image builds ([#87](https://github.com/CycloneDX/cyclonedx-gomod/issues/87) via [#90](https://github.com/CycloneDX/cyclonedx-gomod/pull/90))
* Bump alpine-based `golang` container base images from `alpine3.14` to `alpine3.15` (via [`47cee81`](https://github.com/CycloneDX/cyclonedx-gomod/commit/47cee81da4713561ff30a7450b13688d691da976))

## v1.0.0

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM golang:1.17.3-alpine3.14@sha256:7bd9bf011a76c21b70a1e507de7f8d67656e1f293fd72af80aa46f7b054db515 as build
FROM golang:1.17.3-alpine3.15@sha256:a207b29286084e7342286de809756f61558b00b81f794406399027631e0dba8b as build
ARG VERSION=latest
WORKDIR /tmp/cyclonedx-gomod
RUN apk --no-cache add git make
COPY . .
RUN make install

FROM golang:1.17.3-alpine3.14@sha256:7bd9bf011a76c21b70a1e507de7f8d67656e1f293fd72af80aa46f7b054db515
FROM golang:1.17.3-alpine3.15@sha256:a207b29286084e7342286de809756f61558b00b81f794406399027631e0dba8b
COPY --from=build /go/bin/cyclonedx-gomod /usr/local/bin/
USER 1000
ENTRYPOINT ["cyclonedx-gomod"]
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.goreleaser
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This Dockerfile is meant for GoReleaser exclusively, see .goreleaser.yml.
# For manual builds, please use the regular Dockerfile or simply run "make docker".
FROM golang:1.17.3-alpine3.14@sha256:7bd9bf011a76c21b70a1e507de7f8d67656e1f293fd72af80aa46f7b054db515
FROM golang:1.17.3-alpine3.15@sha256:a207b29286084e7342286de809756f61558b00b81f794406399027631e0dba8b
COPY cyclonedx-gomod /usr/local/bin/
USER 1000
ENTRYPOINT ["cyclonedx-gomod"]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Prebuilt binaries are available on the [releases](https://github.com/CycloneDX/c
### From Source

```shell
go install github.com/CycloneDX/cyclonedx-gomod@v1.0.0
go install github.com/CycloneDX/cyclonedx-gomod@v1.1.0
```

Building from source requires Go 1.17 or newer.
Expand Down

0 comments on commit d42e4dc

Please sign in to comment.