Commit graph

789 commits

Author SHA1 Message Date
Martin
042f771a81
feat: Implement correct cpu scheduler settings (#732) 2025-05-24 10:12:30 +02:00
mayaozer
773483ba57
feat: Add implementaion of capabilities in docker servic (#727)
* feat: Add implementaion of capabilities in docker service

* fix: linting

---------

Co-authored-by: Maya Ozer <mayaozer@Mayas-MacBook-Air.local>
Co-authored-by: Martin <Junkern@users.noreply.github.com>
2025-05-24 09:15:55 +02:00
renovate[bot]
22b9c433b5
fix(deps): update module github.com/containerd/console to v1.0.5 (#729)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-20 19:35:16 +00:00
renovate[bot]
e49eec7e5d
fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.37.0 (#726)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-17 02:06:03 +00:00
Martin
e708af48e5
feat: implement Buildx builder resource (#724) 2025-05-09 16:00:42 +02:00
renovate[bot]
a1b801f1f4
chore(deps): update golangci/golangci-lint-action action to v8 (#718)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-07 10:50:10 +02:00
renovate[bot]
f572d9f259
fix(deps): update module google.golang.org/protobuf to v1.36.6 (#720)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-07 05:59:10 +00:00
renovate[bot]
87cd049c2d
chore(deps): update dependency go to v1.24.3 (#719)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-07 02:48:30 +00:00
Martin
5cacb0ffc5
chore: Prepare release v3.5.0 (#721) 2025-05-06 22:42:46 +02:00
Martin
b9181a75e4
feat: Implement using of buildx for docker_image (#717)
* feat: Implement using of buildx for docker_image

* fix: secrets in docker_image

* fix: fmt issues

* test: Add test for build_log_file

* chore: Disable flaky test and update goreleaser to exclude not possible build

* feat: Small refactoring and documentation improvements
2025-05-06 22:21:09 +02:00
Pavel Motyrev
46a6a72595
feat: Support registries that return empty auth scope #646 2025-04-29 16:21:08 +02:00
Martin
62970c2d5a
feat: Implement registry_image_manifests data source (#714)
* feat: Implement registry_image_manifests data source

* fix: Golint errors
2025-04-29 06:19:37 +02:00
Martin
d638dddb1e
feat: Implement healthcheck start interval (#713) 2025-04-27 16:03:02 +02:00
Martin
3831a005d4
chore: Prepare release v3.4.0 (#712) 2025-04-25 09:21:54 +02:00
Martin
0d414d194b
fix: Prevent recreation of image name is intentionally set to a fixed value (#711)
* fix: Prevent recreation of image name is intentionally set to a fixed value

* chore: Fix linting and formatting
2025-04-25 08:49:44 +02:00
Martin
42249d3144
feat: Implement volume_options subpath (#710) 2025-04-24 23:13:01 +02:00
Martin
0663aeb1a4
fix: Improve container wait handling (#709)
* fix: Improve container wait handling

* chore: Noop change to trigger CI

* fix: Adapt expected error regexp
2025-04-24 22:15:05 +02:00
Martin
9466469b45
fix: Use auth_config block also for registry_image delete functionality (#708) 2025-04-24 18:29:42 +02:00
Martin
d55c31b383
chore: Prepare release v3.3.0 (#705) 2025-04-19 14:14:39 +02:00
Martin
54649a1909
feat: Implement support for docker context (#704) 2025-04-18 23:22:06 +02:00
Martin
e47077458c
feat: disable_docker_daemon_check for provider (#703) 2025-04-18 19:25:13 +02:00
Martin
5aced9fca7
feat: Implement tag triggers for docker_tag resource (#702) 2025-04-18 18:00:22 +02:00
Martin
98ccee6b68
feat: Implement auth_config for docker_registry_image (#701)
* feat: Implement auth_config for docker_registry_image

* fix: Formatting
2025-04-18 17:16:05 +02:00
renovate[bot]
1b354111b4
chore(deps): update dependency go to v1.24.2 (#700)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-18 14:58:12 +00:00
Martin
cf07eb7dc9
chore: Update terraform-plugin-sdk/v2 dependency (#699) 2025-04-18 12:15:43 +02:00
Martin
6f144047c4
fix: Store correctly ports from server (#698) 2025-04-17 21:56:12 +02:00
Martin
13998c12bb
chore: Update docker/docker and docker/cli to newest stable (#695)
* chore: Updatedocker/docker and docker/cli to newest stable

* fix: Update docker_container capabilities test

* fix: Update setting of network options
2025-04-17 19:22:08 +02:00
Martin
c712f3f738
chore: Prepare release v3.2.0 (#694) 2025-04-16 20:17:34 +02:00
Martin
d5e501c65b
feat: Implement upload permissions in docker_container resource (#693) 2025-04-16 09:12:51 +02:00
Martin
4b2fdcc868
feat: Implement docker_image timeouts (#692) 2025-04-15 21:47:43 +02:00
Martin
50afa9f1f5
docs: Consolidated update of docs from several PRs (#691)
Contains the changes of the following PRs

https://github.com/kreuzwerker/terraform-provider-docker/pull/576 @triggerNZ
https://github.com/kreuzwerker/terraform-provider-docker/pull/536 @Tyonar
https://github.com/kreuzwerker/terraform-provider-docker/pull/539 @matthew-palmer
https://github.com/kreuzwerker/terraform-provider-docker/pull/541 @siddharthab
https://github.com/kreuzwerker/terraform-provider-docker/pull/546 @akeamc
https://github.com/kreuzwerker/terraform-provider-docker/pull/549 @manju-rn
https://github.com/kreuzwerker/terraform-provider-docker/pull/665 @tparikka
https://github.com/kreuzwerker/terraform-provider-docker/pull/559 @tk3fftk
2025-04-15 20:04:02 +02:00
Martin
4a46383d4c
fix: Authentication to ECR public (#690)
Originally proposed by @achille-roussel in https://github.com/kreuzwerker/terraform-provider-docker/pull/666
2025-04-15 19:05:52 +02:00
Martin
dacb5dfe73
chore: Upgrade golangci-lint to next major version (#686)
* chore: Upgrade golangci-lint to next major version

* chore: Add //nolint to new tests

---------

Co-authored-by: Martin Wentzel <junker@monoceres.uberspace.de>
2025-04-15 18:54:25 +02:00
Emanuel Skrenković
64b95701e3
feat: Add support for build-secrets (#604)
Enables passing of build-secrets through the 'secrets' block inside
'build'.
The feature is only available when using Buildkit.

Co-authored-by: Martin <Junkern@users.noreply.github.com>
2025-04-15 09:15:04 +02:00
Martin
cfcb6f2cf6
Chore: prepare release 3.1.2 (#688)
* chore: Use correct permissions statement in release workflow

* chore: Prepare release v3.1.2

---------

Co-authored-by: Martin Wentzel <junker@monoceres.uberspace.de>
2025-04-15 08:39:11 +02:00
Martin
8c4fd6bbba
Chore: Prepare release 3.1.1 (#687)
* chore: Update gorelease publish github token

* chore: Update makefile commands to match new svi version

* chore: Prepare release v3.1.1

---------

Co-authored-by: Martin Wentzel <junker@monoceres.uberspace.de>
2025-04-14 23:26:12 +02:00
Martin
dd316126dd
chore: Prepare release 3.1.0 (#685)
Co-authored-by: Martin Wentzel <junker@monoceres.uberspace.de>
2025-04-14 22:47:33 +02:00
renovate[bot]
f043898d81
fix(deps): update module github.com/docker/docker to v20.10.27+incompatible (#509)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-13 12:09:32 +02:00
Martin
f1630865be
fix: Use build_args everywhere and update documentation (#681)
Co-authored-by: Martin Wentzel <junker@monoceres.uberspace.de>
2025-04-11 22:54:57 +02:00
renovate[bot]
d9e1cbc2cb
fix(deps): update module github.com/docker/go-connections to v0.5.0 (#673)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-11 14:41:16 +02:00
renovate[bot]
a45b29b99e
fix(deps): update module github.com/hashicorp/go-cty to v1.5.0 (#679)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-11 14:25:22 +02:00
renovate[bot]
eed4581c16
fix(deps): update module github.com/docker/cli to v20.10.27+incompatible (#675)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-11 14:01:11 +02:00
renovate[bot]
1ad9eafbff
fix(deps): update module github.com/katbyte/terrafmt to v0.5.4 (#654)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-11 13:17:56 +02:00
Benjamin Staffin
ae80eb7d7b
fix: Compress build context before sending it to Docker (#461)
This fixes #439 by gzipping the build context, which prevents the Docker
API from misinterpreting the stream as a plain text Dockerfile.

Co-authored-by: Martin <Junkern@users.noreply.github.com>
2025-04-11 13:03:00 +02:00
Christoph Landsdorf
7e1842ccd6
feat: support setting cpu shares (#575)
Co-authored-by: Martin <Junkern@users.noreply.github.com>
2025-04-11 12:38:28 +02:00
djarbz
cc276ca937
Ignore error message case in comparison for ignorable messages. (#583)
Co-authored-by: Martin <Junkern@users.noreply.github.com>
2025-04-11 12:08:17 +02:00
Martin
f0dd96dbcd
fix: Set correct default network driver and fix a test (#677)
* fix: Set correct default network driver and fix a test

* fix: Update used google_containers/pause image tag

---------

Co-authored-by: Martin Wentzel <junker@monoceres.uberspace.de>
2025-04-11 11:41:07 +02:00
Jonatan Reiners
4e6ef4b2e6
Update Terraform version to 1.8.x in acceptance test GitHub Actions workflow. (#626) 2025-04-09 23:40:39 +02:00
Jonatan Reiners
7155ab079c
update-dockerignore-for-context-ignore (#625)
* 🚀 Fix the GitHub Actions workflow config to properly trigger on all Go files.

*  Ignore testing files for script in .gitignore.
2024-06-04 17:14:13 +02:00
renovate[bot]
d4a6e7b6ad
chore(deps): update hashicorp/setup-terraform action to v3 (#616)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 16:47:17 +02:00