Skip to content

Commit

Permalink
Bump version from 0.0.1 to 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdonnnj committed Sep 14, 2022
1 parent 6d170d5 commit 1ad5f83
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ appropriate for Docker containers and the major languages that we use.
To run the `cisagov/example` image via Docker:

```console
docker run cisagov/example:0.0.1
docker run cisagov/example:0.1.0
```

### Running with Docker Compose ###
Expand All @@ -37,7 +37,7 @@ docker run cisagov/example:0.0.1

services:
example:
image: cisagov/example:0.0.1
image: cisagov/example:0.1.0
volumes:
- type: bind
source: <your_log_dir>
Expand Down Expand Up @@ -82,7 +82,7 @@ environment variables. See the
services:
example:
image: cisagov/example:0.0.1
image: cisagov/example:0.1.0
volumes:
- type: bind
source: <your_log_dir>
Expand Down Expand Up @@ -125,7 +125,7 @@ environment variables. See the
1. Pull the new image:

```console
docker pull cisagov/example:0.0.1
docker pull cisagov/example:0.1.0
```

1. Recreate and run the container by following the [previous instructions](#running-with-docker).
Expand All @@ -135,12 +135,12 @@ environment variables. See the
The images of this container are tagged with [semantic
versions](https://semver.org) of the underlying example project that they
containerize. It is recommended that most users use a version tag (e.g.
`:0.0.1`).
`:0.1.0`).

| Image:tag | Description |
|-----------|-------------|
|`cisagov/example:0.0.1`| An exact release version. |
|`cisagov/example:0.0`| The most recent release matching the major and minor version numbers. |
|`cisagov/example:0.1.0`| An exact release version. |
|`cisagov/example:0.1`| The most recent release matching the major and minor version numbers. |
|`cisagov/example:0`| The most recent release matching the major version number. |
|`cisagov/example:edge` | The most recent image built from a merge into the `develop` branch of this repository. |
|`cisagov/example:nightly` | A nightly build of the `develop` branch of this repository. |
Expand Down Expand Up @@ -196,8 +196,8 @@ Build the image locally using this git repository as the [build context](https:/

```console
docker build \
--build-arg VERSION=0.0.1 \
--tag cisagov/example:0.0.1 \
--build-arg VERSION=0.1.0 \
--tag cisagov/example:0.1.0 \
https://github.com/cisagov/example.git#develop
```

Expand Down Expand Up @@ -227,9 +227,9 @@ Docker:
docker buildx build \
--file Dockerfile-x \
--platform linux/amd64 \
--build-arg VERSION=0.0.1 \
--build-arg VERSION=0.1.0 \
--output type=docker \
--tag cisagov/example:0.0.1 .
--tag cisagov/example:0.1.0 .
```

## New repositories from a skeleton ##
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ services:
# Run the container normally
build:
# VERSION must be specified on the command line:
# e.g., --build-arg VERSION=0.0.1
# e.g., --build-arg VERSION=0.1.0
context: .
dockerfile: Dockerfile
image: cisagov/example
Expand Down
2 changes: 1 addition & 1 deletion src/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.0.1"
__version__ = "0.1.0"

0 comments on commit 1ad5f83

Please sign in to comment.