Skip to content

Commit

Permalink
Merge pull request #20 from peter-evans/container-labels
Browse files Browse the repository at this point in the history
Container labels
  • Loading branch information
peter-evans authored Mar 21, 2019
2 parents b9394f4 + 632ea85 commit 381a7a4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- run:
name: Build Docker image
command: |
docker build -t $IMAGE_NAME:latest .
docker build -t $IMAGE_NAME:latest . --label "org.opencontainers.image.version=${CIRCLE_TAG/v/''}"
- run:
name: Test Docker image
command: |
Expand Down
9 changes: 8 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
FROM alpine:3.8

MAINTAINER Peter Evans <[email protected]>
LABEL \
maintainer="Peter Evans <[email protected]>" \
org.opencontainers.image.title="Vegeta" \
org.opencontainers.image.description="Docker image for the Vegeta HTTP load testing tool." \
org.opencontainers.image.authors="Peter Evans <[email protected]>" \
org.opencontainers.image.url="https://github.com/peter-evans/vegeta-docker" \
org.opencontainers.image.vendor="https://peterevans.dev" \
org.opencontainers.image.licenses="MIT"

ENV VEGETA_VERSION 12.2.1

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Docker image for the [Vegeta](https://github.com/tsenart/vegeta) HTTP load testi

## Supported tags and respective `Dockerfile` links

- [`6.2.1`, `6.2`, `latest` (*6.2/Dockerfile*)](https://github.com/peter-evans/vegeta-docker/tree/master)
- [`6.2.2`, `6.2`, `latest` (*6.2/Dockerfile*)](https://github.com/peter-evans/vegeta-docker/tree/master)
- [`6.1.0`, `6.1` (*6.1/Dockerfile*)](https://github.com/peter-evans/vegeta-docker/tree/master/archive/6.1)
- [`6.0.0`, `6.0` (*6.0/Dockerfile*)](https://github.com/peter-evans/vegeta-docker/tree/master/archive/6.0)
- [`5.1.0`, `5.1` (*5.1/Dockerfile*)](https://github.com/peter-evans/vegeta-docker/tree/master/archive/5.1)
Expand Down

0 comments on commit 381a7a4

Please sign in to comment.