Skip to content

Commit

Permalink
bump version from 3.12.3 to 3.14.2
Browse files Browse the repository at this point in the history
bump version from 3.12.3 to 3.14.2
  • Loading branch information
basvanbeek authored Sep 3, 2021
1 parent 3093f75 commit 6a2e102
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ WORKDIR /install
# When updating, update the README and both alpine_version ARGs
# * Use current version from https://alpinelinux.org/downloads/
# * ARGs repeat because Dockerfile ARGs are layer specific
ARG alpine_version=3.12.3
ARG alpine_version=3.14.2
ENV ALPINE_VERSION=$alpine_version
RUN /code/alpine_minirootfs $ALPINE_VERSION

Expand All @@ -45,7 +45,7 @@ FROM scratch as alpine
ARG maintainer="OpenZipkin https://gitter.im/openzipkin/zipkin"
LABEL maintainer=$maintainer
LABEL org.opencontainers.image.authors=$maintainer
ARG alpine_version=3.12.3
ARG alpine_version=3.14.2
LABEL alpine-version=$alpine_version

COPY --from=install /install /
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ This is an internal base layer primarily used in [docker-java](https://github.co

To browse the image, run it in interactive mode with TTY enabled like so:
```bash
docker run -ti --rm ghcr.io/openzipkin/alpine:3.12.3
docker run -ti --rm ghcr.io/openzipkin/alpine:3.14.2
/ #
```

## Release process
Build the `Dockerfile` using the current version from https://alpinelinux.org/downloads/:
```bash
# Note 3.12.3 not 3.12!
./build-bin/build 3.12.3
# Note 3.14.2 not 3.14!
./build-bin/build 3.14.2
```

Next, verify the built image matches that version:
Expand All @@ -30,5 +30,5 @@ docker run --rm openzipkin/alpine:test -c 'cat /etc/alpine-release'
3.12.3
```

To release the image, push a tag matching the arg to `build-bin/build` (ex `3.12.3`).
To release the image, push a tag matching the arg to `build-bin/build` (ex `3.14.2`).
This triggers a [GitHub Actions](https://github.com/openzipkin/docker-alpine/actions) job to push the image.

0 comments on commit 6a2e102

Please sign in to comment.