From c139056dedd51b4da223b99a38b247ea1a4f4b2c Mon Sep 17 00:00:00 2001 From: Vijay Prakash Date: Fri, 4 Aug 2023 12:33:01 +0200 Subject: [PATCH] chore: Prepare release v3.1.0 --- .chglog/config.yml | 4 +- CHANGELOG.md | 361 ++++++++++-------- README.md | 120 +----- docs/data-sources/registry_multiarch_image.md | 4 +- docs/index.md | 4 +- examples/provider/provider-tf12.tf | 2 +- examples/provider/provider-tf13.tf | 2 +- 7 files changed, 211 insertions(+), 286 deletions(-) diff --git a/.chglog/config.yml b/.chglog/config.yml index 79bdf4442..d185217dc 100755 --- a/.chglog/config.yml +++ b/.chglog/config.yml @@ -2,7 +2,7 @@ style: github template: CHANGELOG.tpl.md info: title: CHANGELOG - repository_url: https://github.com/kreuzwerker/terraform-provider-docker + repository_url: https://github.com/seatgeek/terraform-provider-docker options: commits: # filters: @@ -24,4 +24,4 @@ options: - Subject notes: keywords: - - BREAKING CHANGE \ No newline at end of file + - BREAKING CHANGE diff --git a/CHANGELOG.md b/CHANGELOG.md index 37dbb7136..a9092bdb1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,18 +1,41 @@ + +## [v3.1.0](https://github.com/seatgeek/terraform-provider-docker/compare/v3.0.2...v3.1.0) (2023-08-03) + +### Feat + +* add documentation for the new data source +* add acceptance tests +* add docker_registry_multiarch_image data source +* refactor common HTTP request logic to shared method + +### Fix + +* fix auth helper and docker_registry_image data source tests + +### Pull Requests + +* Merge pull request [#1](https://github.com/seatgeek/terraform-provider-docker/issues/1) from seatgeek/vprakash/data-source-multiarch-registry-image + + -## [v3.0.2](https://github.com/kreuzwerker/terraform-provider-docker/compare/v3.0.1...v3.0.2) (2023-03-17) +## [v3.0.2](https://github.com/seatgeek/terraform-provider-docker/compare/v3.0.1...v3.0.2) (2023-03-17) + +### Chore + +* Prepare release v3.0.2 ### Docs -* correct spelling of "networks_advanced" ([#517](https://github.com/kreuzwerker/terraform-provider-docker/issues/517)) +* correct spelling of "networks_advanced" ([#517](https://github.com/seatgeek/terraform-provider-docker/issues/517)) ### Fix -* Implement proxy support. ([#529](https://github.com/kreuzwerker/terraform-provider-docker/issues/529)) +* Implement proxy support. ([#529](https://github.com/seatgeek/terraform-provider-docker/issues/529)) -## [v3.0.1](https://github.com/kreuzwerker/terraform-provider-docker/compare/v3.0.0...v3.0.1) (2023-01-13) +## [v3.0.1](https://github.com/seatgeek/terraform-provider-docker/compare/v3.0.0...v3.0.1) (2023-01-13) ### Chore @@ -20,11 +43,11 @@ ### Fix -* Access health of container correctly. ([#506](https://github.com/kreuzwerker/terraform-provider-docker/issues/506)) +* Access health of container correctly. ([#506](https://github.com/seatgeek/terraform-provider-docker/issues/506)) -## [v3.0.0](https://github.com/kreuzwerker/terraform-provider-docker/compare/v2.25.0...v3.0.0) (2023-01-13) +## [v3.0.0](https://github.com/seatgeek/terraform-provider-docker/compare/v2.25.0...v3.0.0) (2023-01-13) ### Chore @@ -33,15 +56,15 @@ ### Docs * Update documentation. -* Add migration guide and update README ([#502](https://github.com/kreuzwerker/terraform-provider-docker/issues/502)) +* Add migration guide and update README ([#502](https://github.com/seatgeek/terraform-provider-docker/issues/502)) ### Feat -* Prepare v3 release ([#503](https://github.com/kreuzwerker/terraform-provider-docker/issues/503)) +* Prepare v3 release ([#503](https://github.com/seatgeek/terraform-provider-docker/issues/503)) -## [v2.25.0](https://github.com/kreuzwerker/terraform-provider-docker/compare/v2.24.0...v2.25.0) (2023-01-05) +## [v2.25.0](https://github.com/seatgeek/terraform-provider-docker/compare/v2.24.0...v2.25.0) (2023-01-05) ### Chore @@ -49,17 +72,17 @@ ### Docs -* Add documentation of remote hosts. ([#498](https://github.com/kreuzwerker/terraform-provider-docker/issues/498)) +* Add documentation of remote hosts. ([#498](https://github.com/seatgeek/terraform-provider-docker/issues/498)) ### Feat -* Migrate build block to `docker_image` ([#501](https://github.com/kreuzwerker/terraform-provider-docker/issues/501)) -* Add platform attribute to docker_image resource ([#500](https://github.com/kreuzwerker/terraform-provider-docker/issues/500)) -* Add sysctl implementation to container of docker_service. ([#499](https://github.com/kreuzwerker/terraform-provider-docker/issues/499)) +* Migrate build block to `docker_image` ([#501](https://github.com/seatgeek/terraform-provider-docker/issues/501)) +* Add platform attribute to docker_image resource ([#500](https://github.com/seatgeek/terraform-provider-docker/issues/500)) +* Add sysctl implementation to container of docker_service. ([#499](https://github.com/seatgeek/terraform-provider-docker/issues/499)) -## [v2.24.0](https://github.com/kreuzwerker/terraform-provider-docker/compare/v2.23.1...v2.24.0) (2022-12-23) +## [v2.24.0](https://github.com/seatgeek/terraform-provider-docker/compare/v2.23.1...v2.24.0) (2022-12-23) ### Chore @@ -68,14 +91,14 @@ ### Docs * Fix generated website. -* Update command typo ([#487](https://github.com/kreuzwerker/terraform-provider-docker/issues/487)) +* Update command typo ([#487](https://github.com/seatgeek/terraform-provider-docker/issues/487)) ### Feat -* cgroupns support ([#497](https://github.com/kreuzwerker/terraform-provider-docker/issues/497)) -* Add triggers attribute to docker_registry_image ([#496](https://github.com/kreuzwerker/terraform-provider-docker/issues/496)) -* Support registries with disabled auth ([#494](https://github.com/kreuzwerker/terraform-provider-docker/issues/494)) -* add IPAM options block for docker networks ([#491](https://github.com/kreuzwerker/terraform-provider-docker/issues/491)) +* cgroupns support ([#497](https://github.com/seatgeek/terraform-provider-docker/issues/497)) +* Add triggers attribute to docker_registry_image ([#496](https://github.com/seatgeek/terraform-provider-docker/issues/496)) +* Support registries with disabled auth ([#494](https://github.com/seatgeek/terraform-provider-docker/issues/494)) +* add IPAM options block for docker networks ([#491](https://github.com/seatgeek/terraform-provider-docker/issues/491)) ### Fix @@ -87,7 +110,7 @@ -## [v2.23.1](https://github.com/kreuzwerker/terraform-provider-docker/compare/v2.23.0...v2.23.1) (2022-11-23) +## [v2.23.1](https://github.com/seatgeek/terraform-provider-docker/compare/v2.23.0...v2.23.1) (2022-11-23) ### Chore @@ -96,12 +119,12 @@ ### Fix * Update shasum of busybox:1.35.0 tag in test. -* Handle Auth Header Scopes ([#482](https://github.com/kreuzwerker/terraform-provider-docker/issues/482)) -* Set OS_ARCH from GOHOSTOS and GOHOSTARCH ([#477](https://github.com/kreuzwerker/terraform-provider-docker/issues/477)) +* Handle Auth Header Scopes ([#482](https://github.com/seatgeek/terraform-provider-docker/issues/482)) +* Set OS_ARCH from GOHOSTOS and GOHOSTARCH ([#477](https://github.com/seatgeek/terraform-provider-docker/issues/477)) -## [v2.23.0](https://github.com/kreuzwerker/terraform-provider-docker/compare/v2.22.0...v2.23.0) (2022-11-02) +## [v2.23.0](https://github.com/seatgeek/terraform-provider-docker/compare/v2.22.0...v2.23.0) (2022-11-02) ### Chore @@ -109,18 +132,18 @@ ### Feat -* wait container healthy state ([#467](https://github.com/kreuzwerker/terraform-provider-docker/issues/467)) -* add docker logs data source ([#471](https://github.com/kreuzwerker/terraform-provider-docker/issues/471)) +* wait container healthy state ([#467](https://github.com/seatgeek/terraform-provider-docker/issues/467)) +* add docker logs data source ([#471](https://github.com/seatgeek/terraform-provider-docker/issues/471)) ### Fix * Update shasum of busybox:1.35.0 tag in test. * Update shasum of busybox:1.35.0 tag -* Correct provider name to match the public registry ([#462](https://github.com/kreuzwerker/terraform-provider-docker/issues/462)) +* Correct provider name to match the public registry ([#462](https://github.com/seatgeek/terraform-provider-docker/issues/462)) -## [v2.22.0](https://github.com/kreuzwerker/terraform-provider-docker/compare/v2.21.0...v2.22.0) (2022-09-20) +## [v2.22.0](https://github.com/seatgeek/terraform-provider-docker/compare/v2.21.0...v2.22.0) (2022-09-20) ### Chore @@ -128,15 +151,15 @@ ### Feat -* Configurable timeout for docker_container resource stateChangeConf ([#454](https://github.com/kreuzwerker/terraform-provider-docker/issues/454)) +* Configurable timeout for docker_container resource stateChangeConf ([#454](https://github.com/seatgeek/terraform-provider-docker/issues/454)) ### Fix -* oauth authorization support for azurecr ([#451](https://github.com/kreuzwerker/terraform-provider-docker/issues/451)) +* oauth authorization support for azurecr ([#451](https://github.com/seatgeek/terraform-provider-docker/issues/451)) -## [v2.21.0](https://github.com/kreuzwerker/terraform-provider-docker/compare/v2.20.3...v2.21.0) (2022-09-05) +## [v2.21.0](https://github.com/seatgeek/terraform-provider-docker/compare/v2.20.3...v2.21.0) (2022-09-05) ### Chore @@ -148,18 +171,18 @@ ### Feat -* Add image_id attribute to docker_image resource. ([#450](https://github.com/kreuzwerker/terraform-provider-docker/issues/450)) -* Update used goversion to 1.18. ([#449](https://github.com/kreuzwerker/terraform-provider-docker/issues/449)) +* Add image_id attribute to docker_image resource. ([#450](https://github.com/seatgeek/terraform-provider-docker/issues/450)) +* Update used goversion to 1.18. ([#449](https://github.com/seatgeek/terraform-provider-docker/issues/449)) ### Fix -* Replace deprecated .latest attribute with new image_id. ([#453](https://github.com/kreuzwerker/terraform-provider-docker/issues/453)) -* Remove reading part of docker_tag resource. ([#448](https://github.com/kreuzwerker/terraform-provider-docker/issues/448)) +* Replace deprecated .latest attribute with new image_id. ([#453](https://github.com/seatgeek/terraform-provider-docker/issues/453)) +* Remove reading part of docker_tag resource. ([#448](https://github.com/seatgeek/terraform-provider-docker/issues/448)) * Fix repo_digest value for DockerImageDatasource test. -## [v2.20.3](https://github.com/kreuzwerker/terraform-provider-docker/compare/v2.20.2...v2.20.3) (2022-08-31) +## [v2.20.3](https://github.com/seatgeek/terraform-provider-docker/compare/v2.20.2...v2.20.3) (2022-08-31) ### Chore @@ -167,12 +190,12 @@ ### Fix -* Docker Registry Image data source use HEAD request to query image digest ([#433](https://github.com/kreuzwerker/terraform-provider-docker/issues/433)) -* Adding Support for Windows Paths in Bash ([#438](https://github.com/kreuzwerker/terraform-provider-docker/issues/438)) +* Docker Registry Image data source use HEAD request to query image digest ([#433](https://github.com/seatgeek/terraform-provider-docker/issues/433)) +* Adding Support for Windows Paths in Bash ([#438](https://github.com/seatgeek/terraform-provider-docker/issues/438)) -## [v2.20.2](https://github.com/kreuzwerker/terraform-provider-docker/compare/v2.20.1...v2.20.2) (2022-08-10) +## [v2.20.2](https://github.com/seatgeek/terraform-provider-docker/compare/v2.20.1...v2.20.2) (2022-08-10) ### Chore @@ -180,20 +203,20 @@ ### Fix -* Check the operating system for determining the default Docker socket ([#427](https://github.com/kreuzwerker/terraform-provider-docker/issues/427)) +* Check the operating system for determining the default Docker socket ([#427](https://github.com/seatgeek/terraform-provider-docker/issues/427)) ### Reverts -* fix(deps): update module github.com/golangci/golangci-lint to v1.48.0 ([#423](https://github.com/kreuzwerker/terraform-provider-docker/issues/423)) +* fix(deps): update module github.com/golangci/golangci-lint to v1.48.0 ([#423](https://github.com/seatgeek/terraform-provider-docker/issues/423)) -## [v2.20.1](https://github.com/kreuzwerker/terraform-provider-docker/compare/v2.20.0...v2.20.1) (2022-08-10) +## [v2.20.1](https://github.com/seatgeek/terraform-provider-docker/compare/v2.20.0...v2.20.1) (2022-08-10) ### Chore * Prepare release v2.20.1 -* Reduce time to setup AccTests ([#430](https://github.com/kreuzwerker/terraform-provider-docker/issues/430)) +* Reduce time to setup AccTests ([#430](https://github.com/seatgeek/terraform-provider-docker/issues/430)) ### Docs @@ -201,15 +224,15 @@ ### Feat -* Implement triggers attribute for docker_image. ([#425](https://github.com/kreuzwerker/terraform-provider-docker/issues/425)) +* Implement triggers attribute for docker_image. ([#425](https://github.com/seatgeek/terraform-provider-docker/issues/425)) ### Fix -* Add ForceTrue to docker_image name attribute. ([#421](https://github.com/kreuzwerker/terraform-provider-docker/issues/421)) +* Add ForceTrue to docker_image name attribute. ([#421](https://github.com/seatgeek/terraform-provider-docker/issues/421)) -## [v2.20.0](https://github.com/kreuzwerker/terraform-provider-docker/compare/v2.19.0...v2.20.0) (2022-07-28) +## [v2.20.0](https://github.com/seatgeek/terraform-provider-docker/compare/v2.19.0...v2.20.0) (2022-07-28) ### Chore @@ -218,12 +241,12 @@ ### Feat -* Implementation of `docker_tag` resource. ([#418](https://github.com/kreuzwerker/terraform-provider-docker/issues/418)) -* Implement support for insecure registries ([#414](https://github.com/kreuzwerker/terraform-provider-docker/issues/414)) +* Implementation of `docker_tag` resource. ([#418](https://github.com/seatgeek/terraform-provider-docker/issues/418)) +* Implement support for insecure registries ([#414](https://github.com/seatgeek/terraform-provider-docker/issues/414)) -## [v2.19.0](https://github.com/kreuzwerker/terraform-provider-docker/compare/v2.18.1...v2.19.0) (2022-07-15) +## [v2.19.0](https://github.com/seatgeek/terraform-provider-docker/compare/v2.18.1...v2.19.0) (2022-07-15) ### Chore @@ -231,16 +254,16 @@ ### Feat -* Add gpu flag to docker_container resource ([#405](https://github.com/kreuzwerker/terraform-provider-docker/issues/405)) +* Add gpu flag to docker_container resource ([#405](https://github.com/seatgeek/terraform-provider-docker/issues/405)) ### Fix -* Enable authentication to multiple registries again. ([#400](https://github.com/kreuzwerker/terraform-provider-docker/issues/400)) -* ECR authentication ([#409](https://github.com/kreuzwerker/terraform-provider-docker/issues/409)) +* Enable authentication to multiple registries again. ([#400](https://github.com/seatgeek/terraform-provider-docker/issues/400)) +* ECR authentication ([#409](https://github.com/seatgeek/terraform-provider-docker/issues/409)) -## [v2.18.1](https://github.com/kreuzwerker/terraform-provider-docker/compare/v2.18.0...v2.18.1) (2022-07-14) +## [v2.18.1](https://github.com/seatgeek/terraform-provider-docker/compare/v2.18.0...v2.18.1) (2022-07-14) ### Chore @@ -249,13 +272,13 @@ ### Fix -* Improve searchLocalImages error handling. ([#407](https://github.com/kreuzwerker/terraform-provider-docker/issues/407)) -* Throw errors when any part of docker config file handling goes wrong. ([#406](https://github.com/kreuzwerker/terraform-provider-docker/issues/406)) -* Enables having a Dockerfile outside the context ([#402](https://github.com/kreuzwerker/terraform-provider-docker/issues/402)) +* Improve searchLocalImages error handling. ([#407](https://github.com/seatgeek/terraform-provider-docker/issues/407)) +* Throw errors when any part of docker config file handling goes wrong. ([#406](https://github.com/seatgeek/terraform-provider-docker/issues/406)) +* Enables having a Dockerfile outside the context ([#402](https://github.com/seatgeek/terraform-provider-docker/issues/402)) -## [v2.18.0](https://github.com/kreuzwerker/terraform-provider-docker/compare/v2.17.0...v2.18.0) (2022-07-11) +## [v2.18.0](https://github.com/seatgeek/terraform-provider-docker/compare/v2.17.0...v2.18.0) (2022-07-11) ### Chore @@ -263,32 +286,32 @@ ### Feat -* add runtime, stop_signal and stop_timeout properties to the docker_container resource ([#364](https://github.com/kreuzwerker/terraform-provider-docker/issues/364)) +* add runtime, stop_signal and stop_timeout properties to the docker_container resource ([#364](https://github.com/seatgeek/terraform-provider-docker/issues/364)) ### Fix -* Correctly handle build files and context for docker_registry_image ([#398](https://github.com/kreuzwerker/terraform-provider-docker/issues/398)) -* Switch to proper go tools mechanism to fix website-* workflows. ([#399](https://github.com/kreuzwerker/terraform-provider-docker/issues/399)) -* compare relative paths when excluding, fixes kreuzwerker[#280](https://github.com/kreuzwerker/terraform-provider-docker/issues/280) ([#397](https://github.com/kreuzwerker/terraform-provider-docker/issues/397)) +* Correctly handle build files and context for docker_registry_image ([#398](https://github.com/seatgeek/terraform-provider-docker/issues/398)) +* Switch to proper go tools mechanism to fix website-* workflows. ([#399](https://github.com/seatgeek/terraform-provider-docker/issues/399)) +* compare relative paths when excluding, fixes kreuzwerker[#280](https://github.com/seatgeek/terraform-provider-docker/issues/280) ([#397](https://github.com/seatgeek/terraform-provider-docker/issues/397)) -## [v2.17.0](https://github.com/kreuzwerker/terraform-provider-docker/compare/v2.16.0...v2.17.0) (2022-06-23) +## [v2.17.0](https://github.com/seatgeek/terraform-provider-docker/compare/v2.16.0...v2.17.0) (2022-06-23) ### Chore * prepare release v2.17.0 * Exclude examples directory from renovate. -* remove the workflow to close stale issues and pull requests ([#371](https://github.com/kreuzwerker/terraform-provider-docker/issues/371)) +* remove the workflow to close stale issues and pull requests ([#371](https://github.com/seatgeek/terraform-provider-docker/issues/371)) ### Fix * update go package files directly on master to fix build. -* correct authentication for ghcr.io registry([#349](https://github.com/kreuzwerker/terraform-provider-docker/issues/349)) +* correct authentication for ghcr.io registry([#349](https://github.com/seatgeek/terraform-provider-docker/issues/349)) -## [v2.16.0](https://github.com/kreuzwerker/terraform-provider-docker/compare/v2.15.0...v2.16.0) (2022-01-24) +## [v2.16.0](https://github.com/seatgeek/terraform-provider-docker/compare/v2.15.0...v2.16.0) (2022-01-24) ### Chore @@ -296,23 +319,23 @@ ### Docs -* fix service options ([#337](https://github.com/kreuzwerker/terraform-provider-docker/issues/337)) -* update registry_image.md ([#321](https://github.com/kreuzwerker/terraform-provider-docker/issues/321)) -* fix r/registry_image truncated docs ([#304](https://github.com/kreuzwerker/terraform-provider-docker/issues/304)) +* fix service options ([#337](https://github.com/seatgeek/terraform-provider-docker/issues/337)) +* update registry_image.md ([#321](https://github.com/seatgeek/terraform-provider-docker/issues/321)) +* fix r/registry_image truncated docs ([#304](https://github.com/seatgeek/terraform-provider-docker/issues/304)) ### Feat -* add parameter for SSH options ([#335](https://github.com/kreuzwerker/terraform-provider-docker/issues/335)) +* add parameter for SSH options ([#335](https://github.com/seatgeek/terraform-provider-docker/issues/335)) ### Fix -* pass container rm flag ([#322](https://github.com/kreuzwerker/terraform-provider-docker/issues/322)) -* add nil check of DriverConfig ([#315](https://github.com/kreuzwerker/terraform-provider-docker/issues/315)) +* pass container rm flag ([#322](https://github.com/seatgeek/terraform-provider-docker/issues/322)) +* add nil check of DriverConfig ([#315](https://github.com/seatgeek/terraform-provider-docker/issues/315)) * fmt of go files for go 1.17 -## [v2.15.0](https://github.com/kreuzwerker/terraform-provider-docker/compare/v2.14.0...v2.15.0) (2021-08-11) +## [v2.15.0](https://github.com/seatgeek/terraform-provider-docker/compare/v2.14.0...v2.15.0) (2021-08-11) ### Chore @@ -321,19 +344,19 @@ ### Docs -* corrects authentication misspell. Closes [#264](https://github.com/kreuzwerker/terraform-provider-docker/issues/264) +* corrects authentication misspell. Closes [#264](https://github.com/seatgeek/terraform-provider-docker/issues/264) ### Feat -* add container storage opts ([#258](https://github.com/kreuzwerker/terraform-provider-docker/issues/258)) +* add container storage opts ([#258](https://github.com/seatgeek/terraform-provider-docker/issues/258)) ### Fix -* add current timestamp for file upload to container ([#259](https://github.com/kreuzwerker/terraform-provider-docker/issues/259)) +* add current timestamp for file upload to container ([#259](https://github.com/seatgeek/terraform-provider-docker/issues/259)) -## [v2.14.0](https://github.com/kreuzwerker/terraform-provider-docker/compare/v2.13.0...v2.14.0) (2021-07-09) +## [v2.14.0](https://github.com/seatgeek/terraform-provider-docker/compare/v2.13.0...v2.14.0) (2021-07-09) ### Chore @@ -341,20 +364,20 @@ ### Docs -* update to absolute path for registry image context ([#246](https://github.com/kreuzwerker/terraform-provider-docker/issues/246)) -* update readme with logos and subsections ([#235](https://github.com/kreuzwerker/terraform-provider-docker/issues/235)) +* update to absolute path for registry image context ([#246](https://github.com/seatgeek/terraform-provider-docker/issues/246)) +* update readme with logos and subsections ([#235](https://github.com/seatgeek/terraform-provider-docker/issues/235)) ### Feat -* support terraform v1 ([#242](https://github.com/kreuzwerker/terraform-provider-docker/issues/242)) +* support terraform v1 ([#242](https://github.com/seatgeek/terraform-provider-docker/issues/242)) ### Fix -* Update the URL of the docker hub registry ([#230](https://github.com/kreuzwerker/terraform-provider-docker/issues/230)) +* Update the URL of the docker hub registry ([#230](https://github.com/seatgeek/terraform-provider-docker/issues/230)) -## [v2.13.0](https://github.com/kreuzwerker/terraform-provider-docker/compare/v2.12.2...v2.13.0) (2021-06-22) +## [v2.13.0](https://github.com/seatgeek/terraform-provider-docker/compare/v2.12.2...v2.13.0) (2021-06-22) ### Chore @@ -362,12 +385,12 @@ ### Docs -* fix a few typos ([#216](https://github.com/kreuzwerker/terraform-provider-docker/issues/216)) -* fix typos in docker_image example usage ([#213](https://github.com/kreuzwerker/terraform-provider-docker/issues/213)) +* fix a few typos ([#216](https://github.com/seatgeek/terraform-provider-docker/issues/216)) +* fix typos in docker_image example usage ([#213](https://github.com/seatgeek/terraform-provider-docker/issues/213)) -## [v2.12.2](https://github.com/kreuzwerker/terraform-provider-docker/compare/v2.12.1...v2.12.2) (2021-05-26) +## [v2.12.2](https://github.com/seatgeek/terraform-provider-docker/compare/v2.12.1...v2.12.2) (2021-05-26) ### Chore @@ -375,7 +398,7 @@ -## [v2.12.1](https://github.com/kreuzwerker/terraform-provider-docker/compare/v2.12.0...v2.12.1) (2021-05-26) +## [v2.12.1](https://github.com/seatgeek/terraform-provider-docker/compare/v2.12.0...v2.12.1) (2021-05-26) ### Chore @@ -383,52 +406,52 @@ ### Fix -* add service host flattener with space split ([#205](https://github.com/kreuzwerker/terraform-provider-docker/issues/205)) +* add service host flattener with space split ([#205](https://github.com/seatgeek/terraform-provider-docker/issues/205)) * service state upgradeV2 for empty auth -## [v2.12.0](https://github.com/kreuzwerker/terraform-provider-docker/compare/v2.11.0...v2.12.0) (2021-05-23) +## [v2.12.0](https://github.com/seatgeek/terraform-provider-docker/compare/v2.11.0...v2.12.0) (2021-05-23) ### Chore * update changelog for v2.12.0 * ignore dist folder -* configure actions/stale ([#157](https://github.com/kreuzwerker/terraform-provider-docker/issues/157)) -* add the guide about Terraform Configuration in Bug Report ([#139](https://github.com/kreuzwerker/terraform-provider-docker/issues/139)) -* bump docker dependency to v20.10.5 ([#119](https://github.com/kreuzwerker/terraform-provider-docker/issues/119)) +* configure actions/stale ([#157](https://github.com/seatgeek/terraform-provider-docker/issues/157)) +* add the guide about Terraform Configuration in Bug Report ([#139](https://github.com/seatgeek/terraform-provider-docker/issues/139)) +* bump docker dependency to v20.10.5 ([#119](https://github.com/seatgeek/terraform-provider-docker/issues/119)) ### Ci -* run acceptance tests with multiple Terraform versions ([#129](https://github.com/kreuzwerker/terraform-provider-docker/issues/129)) +* run acceptance tests with multiple Terraform versions ([#129](https://github.com/seatgeek/terraform-provider-docker/issues/129)) ### Docs * update for v2.12.0 * add releasing steps -* format `Guide of Bug report` ([#159](https://github.com/kreuzwerker/terraform-provider-docker/issues/159)) -* add an example to build an image with docker_image ([#158](https://github.com/kreuzwerker/terraform-provider-docker/issues/158)) -* add a guide about writing issues to CONTRIBUTING.md ([#149](https://github.com/kreuzwerker/terraform-provider-docker/issues/149)) -* fix Github repository URL in README ([#136](https://github.com/kreuzwerker/terraform-provider-docker/issues/136)) +* format `Guide of Bug report` ([#159](https://github.com/seatgeek/terraform-provider-docker/issues/159)) +* add an example to build an image with docker_image ([#158](https://github.com/seatgeek/terraform-provider-docker/issues/158)) +* add a guide about writing issues to CONTRIBUTING.md ([#149](https://github.com/seatgeek/terraform-provider-docker/issues/149)) +* fix Github repository URL in README ([#136](https://github.com/seatgeek/terraform-provider-docker/issues/136)) ### Feat -* support darwin arm builds and golang 1.16 ([#140](https://github.com/kreuzwerker/terraform-provider-docker/issues/140)) -* migrate to terraform-sdk v2 ([#102](https://github.com/kreuzwerker/terraform-provider-docker/issues/102)) +* support darwin arm builds and golang 1.16 ([#140](https://github.com/seatgeek/terraform-provider-docker/issues/140)) +* migrate to terraform-sdk v2 ([#102](https://github.com/seatgeek/terraform-provider-docker/issues/102)) ### Fix -* rewriting tar header fields ([#198](https://github.com/kreuzwerker/terraform-provider-docker/issues/198)) -* test spaces for windows ([#190](https://github.com/kreuzwerker/terraform-provider-docker/issues/190)) -* replace for loops with StateChangeConf ([#182](https://github.com/kreuzwerker/terraform-provider-docker/issues/182)) +* rewriting tar header fields ([#198](https://github.com/seatgeek/terraform-provider-docker/issues/198)) +* test spaces for windows ([#190](https://github.com/seatgeek/terraform-provider-docker/issues/190)) +* replace for loops with StateChangeConf ([#182](https://github.com/seatgeek/terraform-provider-docker/issues/182)) * skip sign on compile action -* assign map to rawState when it is nil to prevent panic ([#180](https://github.com/kreuzwerker/terraform-provider-docker/issues/180)) -* search local images with Docker image ID ([#151](https://github.com/kreuzwerker/terraform-provider-docker/issues/151)) -* set "ForceNew: true" to labelSchema ([#152](https://github.com/kreuzwerker/terraform-provider-docker/issues/152)) +* assign map to rawState when it is nil to prevent panic ([#180](https://github.com/seatgeek/terraform-provider-docker/issues/180)) +* search local images with Docker image ID ([#151](https://github.com/seatgeek/terraform-provider-docker/issues/151)) +* set "ForceNew: true" to labelSchema ([#152](https://github.com/seatgeek/terraform-provider-docker/issues/152)) -## [v2.11.0](https://github.com/kreuzwerker/terraform-provider-docker/compare/v2.10.0...v2.11.0) (2021-01-22) +## [v2.11.0](https://github.com/seatgeek/terraform-provider-docker/compare/v2.10.0...v2.11.0) (2021-01-22) ### Chore @@ -437,7 +460,7 @@ ### Docs -* fix legacy configuration style ([#126](https://github.com/kreuzwerker/terraform-provider-docker/issues/126)) +* fix legacy configuration style ([#126](https://github.com/seatgeek/terraform-provider-docker/issues/126)) ### Feat @@ -445,7 +468,7 @@ -## [v2.10.0](https://github.com/kreuzwerker/terraform-provider-docker/compare/v2.9.0...v2.10.0) (2021-01-08) +## [v2.10.0](https://github.com/seatgeek/terraform-provider-docker/compare/v2.9.0...v2.10.0) (2021-01-08) ### Chore @@ -460,38 +483,38 @@ ### Docs -* add labels to arguments of docker_service ([#105](https://github.com/kreuzwerker/terraform-provider-docker/issues/105)) +* add labels to arguments of docker_service ([#105](https://github.com/seatgeek/terraform-provider-docker/issues/105)) * cleans readme * adds coc and contributing ### Feat -* supports Docker plugin ([#35](https://github.com/kreuzwerker/terraform-provider-docker/issues/35)) -* support max replicas of Docker Service Task Spec ([#112](https://github.com/kreuzwerker/terraform-provider-docker/issues/112)) -* add force_remove option to r/image ([#104](https://github.com/kreuzwerker/terraform-provider-docker/issues/104)) -* add local semantic commit validation ([#99](https://github.com/kreuzwerker/terraform-provider-docker/issues/99)) -* add ability to lint/check of links in documentation locally ([#98](https://github.com/kreuzwerker/terraform-provider-docker/issues/98)) +* supports Docker plugin ([#35](https://github.com/seatgeek/terraform-provider-docker/issues/35)) +* support max replicas of Docker Service Task Spec ([#112](https://github.com/seatgeek/terraform-provider-docker/issues/112)) +* add force_remove option to r/image ([#104](https://github.com/seatgeek/terraform-provider-docker/issues/104)) +* add local semantic commit validation ([#99](https://github.com/seatgeek/terraform-provider-docker/issues/99)) +* add ability to lint/check of links in documentation locally ([#98](https://github.com/seatgeek/terraform-provider-docker/issues/98)) ### Fix -* set "latest" to tag when tag isn't specified ([#117](https://github.com/kreuzwerker/terraform-provider-docker/issues/117)) +* set "latest" to tag when tag isn't specified ([#117](https://github.com/seatgeek/terraform-provider-docker/issues/117)) * image label for workflows * remove all azure cps ### Pull Requests -* Merge pull request [#38](https://github.com/kreuzwerker/terraform-provider-docker/issues/38) from kreuzwerker/ci-ubuntu2004-workflow -* Merge pull request [#36](https://github.com/kreuzwerker/terraform-provider-docker/issues/36) from kreuzwerker/chore-gh-issue-tpl +* Merge pull request [#38](https://github.com/seatgeek/terraform-provider-docker/issues/38) from kreuzwerker/ci-ubuntu2004-workflow +* Merge pull request [#36](https://github.com/seatgeek/terraform-provider-docker/issues/36) from kreuzwerker/chore-gh-issue-tpl -## [v2.9.0](https://github.com/kreuzwerker/terraform-provider-docker/compare/v2.8.0...v2.9.0) (2020-12-25) +## [v2.9.0](https://github.com/seatgeek/terraform-provider-docker/compare/v2.8.0...v2.9.0) (2020-12-25) ### Chore * updates changelog for 2.9.0 * update changelog 2.8.0 release date -* introduces golangci-lint ([#32](https://github.com/kreuzwerker/terraform-provider-docker/issues/32)) +* introduces golangci-lint ([#32](https://github.com/seatgeek/terraform-provider-docker/issues/32)) * fix changelog links ### Ci @@ -506,16 +529,16 @@ ### Feat -* adds support for OCI manifests ([#316](https://github.com/kreuzwerker/terraform-provider-docker/issues/316)) -* adds security_opts to container config. ([#308](https://github.com/kreuzwerker/terraform-provider-docker/issues/308)) -* adds support for init process injection for containers. ([#300](https://github.com/kreuzwerker/terraform-provider-docker/issues/300)) +* adds support for OCI manifests ([#316](https://github.com/seatgeek/terraform-provider-docker/issues/316)) +* adds security_opts to container config. ([#308](https://github.com/seatgeek/terraform-provider-docker/issues/308)) +* adds support for init process injection for containers. ([#300](https://github.com/seatgeek/terraform-provider-docker/issues/300)) ### Fix -* changing mounts requires ForceNew ([#314](https://github.com/kreuzwerker/terraform-provider-docker/issues/314)) -* allow healthcheck to be computed as container can specify ([#312](https://github.com/kreuzwerker/terraform-provider-docker/issues/312)) -* treat null user as a no-op ([#318](https://github.com/kreuzwerker/terraform-provider-docker/issues/318)) -* workdir null behavior ([#320](https://github.com/kreuzwerker/terraform-provider-docker/issues/320)) +* changing mounts requires ForceNew ([#314](https://github.com/seatgeek/terraform-provider-docker/issues/314)) +* allow healthcheck to be computed as container can specify ([#312](https://github.com/seatgeek/terraform-provider-docker/issues/312)) +* treat null user as a no-op ([#318](https://github.com/seatgeek/terraform-provider-docker/issues/318)) +* workdir null behavior ([#320](https://github.com/seatgeek/terraform-provider-docker/issues/320)) ### Style @@ -523,10 +546,10 @@ ### Pull Requests -* Merge pull request [#33](https://github.com/kreuzwerker/terraform-provider-docker/issues/33) from brandonros/patch-1 -* Merge pull request [#11](https://github.com/kreuzwerker/terraform-provider-docker/issues/11) from suzuki-shunsuke/format-with-gofumpt -* Merge pull request [#26](https://github.com/kreuzwerker/terraform-provider-docker/issues/26) from kreuzwerker/ci/fix-website-ci -* Merge pull request [#8](https://github.com/kreuzwerker/terraform-provider-docker/issues/8) from dubo-dubon-duponey/patch1 +* Merge pull request [#33](https://github.com/seatgeek/terraform-provider-docker/issues/33) from brandonros/patch-1 +* Merge pull request [#11](https://github.com/seatgeek/terraform-provider-docker/issues/11) from suzuki-shunsuke/format-with-gofumpt +* Merge pull request [#26](https://github.com/seatgeek/terraform-provider-docker/issues/26) from kreuzwerker/ci/fix-website-ci +* Merge pull request [#8](https://github.com/seatgeek/terraform-provider-docker/issues/8) from dubo-dubon-duponey/patch1 @@ -537,11 +560,11 @@ * updates changelog for 2.8.0 * removes travis.yml * deactivates travis -* removes vendor dir ([#298](https://github.com/kreuzwerker/terraform-provider-docker/issues/298)) -* bump go 115 ([#297](https://github.com/kreuzwerker/terraform-provider-docker/issues/297)) -* documentation updates ([#286](https://github.com/kreuzwerker/terraform-provider-docker/issues/286)) -* updates link syntax ([#287](https://github.com/kreuzwerker/terraform-provider-docker/issues/287)) -* fix typo ([#292](https://github.com/kreuzwerker/terraform-provider-docker/issues/292)) +* removes vendor dir ([#298](https://github.com/seatgeek/terraform-provider-docker/issues/298)) +* bump go 115 ([#297](https://github.com/seatgeek/terraform-provider-docker/issues/297)) +* documentation updates ([#286](https://github.com/seatgeek/terraform-provider-docker/issues/286)) +* updates link syntax ([#287](https://github.com/seatgeek/terraform-provider-docker/issues/287)) +* fix typo ([#292](https://github.com/seatgeek/terraform-provider-docker/issues/292)) ### Ci @@ -559,7 +582,7 @@ * enables unit tests for master branch * adds unit test workflow * adds goreleaser and gh action -* bumps docker and ubuntu versions ([#241](https://github.com/kreuzwerker/terraform-provider-docker/issues/241)) +* bumps docker and ubuntu versions ([#241](https://github.com/seatgeek/terraform-provider-docker/issues/241)) * removes debug option from acc tests * skips test which is flaky only on travis @@ -574,46 +597,46 @@ ### Docs -* update container.html.markdown ([#278](https://github.com/kreuzwerker/terraform-provider-docker/issues/278)) -* update service.html.markdown ([#281](https://github.com/kreuzwerker/terraform-provider-docker/issues/281)) -* update restart_policy for service. Closes [#228](https://github.com/kreuzwerker/terraform-provider-docker/issues/228) -* adds new label structure. Closes [#214](https://github.com/kreuzwerker/terraform-provider-docker/issues/214) -* update anchors with -1 suffix ([#178](https://github.com/kreuzwerker/terraform-provider-docker/issues/178)) +* update container.html.markdown ([#278](https://github.com/seatgeek/terraform-provider-docker/issues/278)) +* update service.html.markdown ([#281](https://github.com/seatgeek/terraform-provider-docker/issues/281)) +* update restart_policy for service. Closes [#228](https://github.com/seatgeek/terraform-provider-docker/issues/228) +* adds new label structure. Closes [#214](https://github.com/seatgeek/terraform-provider-docker/issues/214) +* update anchors with -1 suffix ([#178](https://github.com/seatgeek/terraform-provider-docker/issues/178)) * Fix misspelled words * Fix exported attribute name in docker_registry_image -* Fix example for docker_registry_image ([#8308](https://github.com/kreuzwerker/terraform-provider-docker/issues/8308)) +* Fix example for docker_registry_image ([#8308](https://github.com/seatgeek/terraform-provider-docker/issues/8308)) * provider/docker - network settings attrs ### Feat -* conditionally adding port binding ([#293](https://github.com/kreuzwerker/terraform-provider-docker/issues/293)). -* adds docker Image build feature ([#283](https://github.com/kreuzwerker/terraform-provider-docker/issues/283)) -* adds complete support for Docker credential helpers ([#253](https://github.com/kreuzwerker/terraform-provider-docker/issues/253)) +* conditionally adding port binding ([#293](https://github.com/seatgeek/terraform-provider-docker/issues/293)). +* adds docker Image build feature ([#283](https://github.com/seatgeek/terraform-provider-docker/issues/283)) +* adds complete support for Docker credential helpers ([#253](https://github.com/seatgeek/terraform-provider-docker/issues/253)) * Expose IPv6 properties as attributes -* allow use of source file instead of content / content_base64 ([#240](https://github.com/kreuzwerker/terraform-provider-docker/issues/240)) -* supports to update docker_container ([#236](https://github.com/kreuzwerker/terraform-provider-docker/issues/236)) -* support to import some docker_container's attributes ([#234](https://github.com/kreuzwerker/terraform-provider-docker/issues/234)) -* adds config file content as plain string ([#232](https://github.com/kreuzwerker/terraform-provider-docker/issues/232)) -* make UID, GID, & mode for secrets and configs configurable ([#231](https://github.com/kreuzwerker/terraform-provider-docker/issues/231)) -* adds import for resources ([#196](https://github.com/kreuzwerker/terraform-provider-docker/issues/196)) -* add container ipc mode. ([#182](https://github.com/kreuzwerker/terraform-provider-docker/issues/182)) -* adds container working dir ([#181](https://github.com/kreuzwerker/terraform-provider-docker/issues/181)) +* allow use of source file instead of content / content_base64 ([#240](https://github.com/seatgeek/terraform-provider-docker/issues/240)) +* supports to update docker_container ([#236](https://github.com/seatgeek/terraform-provider-docker/issues/236)) +* support to import some docker_container's attributes ([#234](https://github.com/seatgeek/terraform-provider-docker/issues/234)) +* adds config file content as plain string ([#232](https://github.com/seatgeek/terraform-provider-docker/issues/232)) +* make UID, GID, & mode for secrets and configs configurable ([#231](https://github.com/seatgeek/terraform-provider-docker/issues/231)) +* adds import for resources ([#196](https://github.com/seatgeek/terraform-provider-docker/issues/196)) +* add container ipc mode. ([#182](https://github.com/seatgeek/terraform-provider-docker/issues/182)) +* adds container working dir ([#181](https://github.com/seatgeek/terraform-provider-docker/issues/181)) ### Fix * ignores 'remove_volumes' on container import * duplicated buildImage function -* port objects with the same internal port but different protocol trigger recreation of container ([#274](https://github.com/kreuzwerker/terraform-provider-docker/issues/274)) -* panic to migrate schema of docker_container from v1 to v2 ([#271](https://github.com/kreuzwerker/terraform-provider-docker/issues/271)). Closes [#264](https://github.com/kreuzwerker/terraform-provider-docker/issues/264) +* port objects with the same internal port but different protocol trigger recreation of container ([#274](https://github.com/seatgeek/terraform-provider-docker/issues/274)) +* panic to migrate schema of docker_container from v1 to v2 ([#271](https://github.com/seatgeek/terraform-provider-docker/issues/271)). Closes [#264](https://github.com/seatgeek/terraform-provider-docker/issues/264) * pins docker registry for tests to v2.7.0 -* prevent force recreate of container about some attributes ([#269](https://github.com/kreuzwerker/terraform-provider-docker/issues/269)) +* prevent force recreate of container about some attributes ([#269](https://github.com/seatgeek/terraform-provider-docker/issues/269)) * service endpoint spec flattening -* corrects IPAM config read on the data provider ([#229](https://github.com/kreuzwerker/terraform-provider-docker/issues/229)) -* replica to 0 in current schema. Closes [#221](https://github.com/kreuzwerker/terraform-provider-docker/issues/221) +* corrects IPAM config read on the data provider ([#229](https://github.com/seatgeek/terraform-provider-docker/issues/229)) +* replica to 0 in current schema. Closes [#221](https://github.com/seatgeek/terraform-provider-docker/issues/221) * label for network and volume after improt -* binary upload as base 64 content ([#194](https://github.com/kreuzwerker/terraform-provider-docker/issues/194)) -* service env truncation for multiple delimiters ([#193](https://github.com/kreuzwerker/terraform-provider-docker/issues/193)) -* destroy_grace_seconds are considered ([#179](https://github.com/kreuzwerker/terraform-provider-docker/issues/179)) +* binary upload as base 64 content ([#194](https://github.com/seatgeek/terraform-provider-docker/issues/194)) +* service env truncation for multiple delimiters ([#193](https://github.com/seatgeek/terraform-provider-docker/issues/193)) +* destroy_grace_seconds are considered ([#179](https://github.com/seatgeek/terraform-provider-docker/issues/179)) ### Make @@ -626,7 +649,7 @@ ### Tests -* Skip test if swap limit isn't available ([#136](https://github.com/kreuzwerker/terraform-provider-docker/issues/136)) +* Skip test if swap limit isn't available ([#136](https://github.com/seatgeek/terraform-provider-docker/issues/136)) * Simplify Dockerfile(s) ### Vendor @@ -642,14 +665,14 @@ ### Pull Requests -* Merge pull request [#134](https://github.com/kreuzwerker/terraform-provider-docker/issues/134) from terraform-providers/go-modules-2019-03-01 -* Merge pull request [#135](https://github.com/kreuzwerker/terraform-provider-docker/issues/135) from terraform-providers/t-simplify-dockerfile -* Merge pull request [#47](https://github.com/kreuzwerker/terraform-provider-docker/issues/47) from captn3m0/docker-link-warning -* Merge pull request [#60](https://github.com/kreuzwerker/terraform-provider-docker/issues/60) from terraform-providers/f-make-website -* Merge pull request [#23](https://github.com/kreuzwerker/terraform-provider-docker/issues/23) from JamesLaverack/patch-1 -* Merge pull request [#18](https://github.com/kreuzwerker/terraform-provider-docker/issues/18) from terraform-providers/vendor-tf-0.10 -* Merge pull request [#5046](https://github.com/kreuzwerker/terraform-provider-docker/issues/5046) from tpounds/use-built-in-schema-string-hash -* Merge pull request [#3761](https://github.com/kreuzwerker/terraform-provider-docker/issues/3761) from ryane/f-provider-docker-improvements -* Merge pull request [#3383](https://github.com/kreuzwerker/terraform-provider-docker/issues/3383) from apparentlymart/docker-container-command-docs -* Merge pull request [#1564](https://github.com/kreuzwerker/terraform-provider-docker/issues/1564) from nickryand/docker_links +* Merge pull request [#134](https://github.com/seatgeek/terraform-provider-docker/issues/134) from terraform-providers/go-modules-2019-03-01 +* Merge pull request [#135](https://github.com/seatgeek/terraform-provider-docker/issues/135) from terraform-providers/t-simplify-dockerfile +* Merge pull request [#47](https://github.com/seatgeek/terraform-provider-docker/issues/47) from captn3m0/docker-link-warning +* Merge pull request [#60](https://github.com/seatgeek/terraform-provider-docker/issues/60) from terraform-providers/f-make-website +* Merge pull request [#23](https://github.com/seatgeek/terraform-provider-docker/issues/23) from JamesLaverack/patch-1 +* Merge pull request [#18](https://github.com/seatgeek/terraform-provider-docker/issues/18) from terraform-providers/vendor-tf-0.10 +* Merge pull request [#5046](https://github.com/seatgeek/terraform-provider-docker/issues/5046) from tpounds/use-built-in-schema-string-hash +* Merge pull request [#3761](https://github.com/seatgeek/terraform-provider-docker/issues/3761) from ryane/f-provider-docker-improvements +* Merge pull request [#3383](https://github.com/seatgeek/terraform-provider-docker/issues/3383) from apparentlymart/docker-container-command-docs +* Merge pull request [#1564](https://github.com/seatgeek/terraform-provider-docker/issues/1564) from nickryand/docker_links diff --git a/README.md b/README.md index 1f21b5155..2af8fe727 100644 --- a/README.md +++ b/README.md @@ -1,117 +1,17 @@ - - Docker logo - - - Terraform logo - - - Kreuzwerker logo - +# SeatGeek Fork of kreuzwerker/docker -# Terraform Provider for Docker +This repo is a SeatGeek fork of the [kreuzwerker/docker](https://github.com/kreuzwerker/terraform-provider-docker), +the Terraform Docker Provider. It contains a [single PR](https://github.com/seatgeek/terraform-provider-docker/pull/1) +that has been [submitted](https://github.com/kreuzwerker/terraform-provider-docker/pull/565) to the source repo but has +not been looked at. -[![Release](https://img.shields.io/github/v/release/kreuzwerker/terraform-provider-docker)](https://github.com/kreuzwerker/terraform-provider-docker/releases) -[![Installs](https://img.shields.io/badge/dynamic/json?logo=terraform&label=installs&query=$.data.attributes.downloads&url=https%3A%2F%2Fregistry.terraform.io%2Fv2%2Fproviders%2F713)](https://registry.terraform.io/providers/kreuzwerker/docker) -[![Registry](https://img.shields.io/badge/registry-doc%40latest-lightgrey?logo=terraform)](https://registry.terraform.io/providers/kreuzwerker/docker/latest/docs) -[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/kreuzwerker/terraform-provider-docker/blob/main/LICENSE) -[![Go Status](https://github.com/kreuzwerker/terraform-provider-docker/workflows/Acc%20Tests/badge.svg)](https://github.com/kreuzwerker/terraform-provider-docker/actions) -[![Lint Status](https://github.com/kreuzwerker/terraform-provider-docker/workflows/golangci-lint/badge.svg)](https://github.com/kreuzwerker/terraform-provider-docker/actions) -[![Go Report Card](https://goreportcard.com/badge/github.com/kreuzwerker/terraform-provider-docker)](https://goreportcard.com/report/github.com/kreuzwerker/terraform-provider-docker) +The PR adds a `docker_registry_multiarch_image` data source to expose details about +[Docker multi-arch images](https://docs.docker.com/build/building/multi-platform/). When you build a multi-arch image, the +underlying images are not tagged so it is useful to be able to look up details about them. There is a usage example +available [here](examples/data-sources/docker_registry_multiarch_image/data-source.tf). -## Documentation - -The documentation for the provider is available on the [Terraform Registry](https://registry.terraform.io/providers/kreuzwerker/docker/latest/docs). - -Do you want to migrate from `v2.x` to `v3.x`? Please read the [migration guide](docs/v2_v3_migration.md) - -## Example usage - -Take a look at the examples in the [documentation](https://registry.terraform.io/providers/kreuzwerker/docker/3.0.2/docs) of the registry -or use the following example: - - -```hcl -# Set the required provider and versions -terraform { - required_providers { - # We recommend pinning to the specific version of the Docker Provider you're using - # since new versions are released frequently - docker = { - source = "kreuzwerker/docker" - version = "3.0.2" - } - } -} - -# Configure the docker provider -provider "docker" { -} - -# Create a docker image resource -# -> docker pull nginx:latest -resource "docker_image" "nginx" { - name = "nginx:latest" - keep_locally = true -} - -# Create a docker container resource -# -> same as 'docker run --name nginx -p8080:80 -d nginx:latest' -resource "docker_container" "nginx" { - name = "nginx" - image = docker_image.nginx.image_id - - ports { - external = 8080 - internal = 80 - } -} - -# Or create a service resource -# -> same as 'docker service create -d -p 8081:80 --name nginx-service --replicas 2 nginx:latest' -resource "docker_service" "nginx_service" { - name = "nginx-service" - task_spec { - container_spec { - image = docker_image.nginx.repo_digest - } - } - - mode { - replicated { - replicas = 2 - } - } - - endpoint_spec { - ports { - published_port = 8081 - target_port = 80 - } - } -} -``` - -## Building The Provider - -[Go](https://golang.org/doc/install) 1.18.x (to build the provider plugin) - - -```sh -$ git clone git@github.com:kreuzwerker/terraform-provider-docker -$ make build -``` - -## Contributing - -The Terraform Docker Provider is the work of many of contributors. We appreciate your help! - -To contribute, please read the contribution guidelines: [Contributing to Terraform - Docker Provider](CONTRIBUTING.md) +The long term goal is to have this change accepted into the upstream and deprecate this repo. ## License The Terraform Provider Docker is available to everyone under the terms of the Mozilla Public License Version 2.0. [Take a look the LICENSE file](LICENSE). - - -## Stargazers over time - -[![Stargazers over time](https://starchart.cc/kreuzwerker/terraform-provider-docker.svg)](https://starchart.cc/kreuzwerker/terraform-provider-docker) diff --git a/docs/data-sources/registry_multiarch_image.md b/docs/data-sources/registry_multiarch_image.md index 65bea96d1..afb1ba3ef 100644 --- a/docs/data-sources/registry_multiarch_image.md +++ b/docs/data-sources/registry_multiarch_image.md @@ -8,7 +8,7 @@ description: |- # docker_registry_multiarch_image (Data Source) -Reads the image metadata for each manifest in a [Docker multi-arch image](https://docs.docker.com/build/building/multi-platform/) from a Docker Registry. +Reads the image metadata for each manifest in a Docker multi-arch image from a Docker Registry. ## Example Usage @@ -44,3 +44,5 @@ Read-Only: - `media_type` (String) - `os` (String) - `sha256_digest` (String) + + diff --git a/docs/index.md b/docs/index.md index bef2113ae..670983082 100644 --- a/docs/index.md +++ b/docs/index.md @@ -25,7 +25,7 @@ terraform { required_providers { docker = { source = "kreuzwerker/docker" - version = "3.0.2" + version = "3.1.0" } } } @@ -50,7 +50,7 @@ Terraform 0.12 and earlier: ```terraform provider "docker" { - version = "~> 3.0.2" + version = "~> 3.1.0" host = "unix:///var/run/docker.sock" } diff --git a/examples/provider/provider-tf12.tf b/examples/provider/provider-tf12.tf index bba089189..89c828a73 100644 --- a/examples/provider/provider-tf12.tf +++ b/examples/provider/provider-tf12.tf @@ -1,5 +1,5 @@ provider "docker" { - version = "~> 3.0.2" + version = "~> 3.1.0" host = "unix:///var/run/docker.sock" } diff --git a/examples/provider/provider-tf13.tf b/examples/provider/provider-tf13.tf index fc79b9151..08c6f1ff0 100644 --- a/examples/provider/provider-tf13.tf +++ b/examples/provider/provider-tf13.tf @@ -2,7 +2,7 @@ terraform { required_providers { docker = { source = "kreuzwerker/docker" - version = "3.0.2" + version = "3.1.0" } } }