diff --git a/README.md b/README.md index 33dde89..82286d9 100644 --- a/README.md +++ b/README.md @@ -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 ### @@ -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: @@ -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: @@ -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). @@ -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. | @@ -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 ``` @@ -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 ## diff --git a/docker-compose.yml b/docker-compose.yml index e746ae9..d9a26f0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 diff --git a/src/version.txt b/src/version.txt index f102a9c..3dc1f76 100644 --- a/src/version.txt +++ b/src/version.txt @@ -1 +1 @@ -__version__ = "0.0.1" +__version__ = "0.1.0"