Martin
e708af48e5
feat: implement Buildx builder resource ( #724 )
2025-05-09 16:00:42 +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
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
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
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
e47077458c
feat: disable_docker_daemon_check for provider ( #703 )
2025-04-18 19:25:13 +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
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
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
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
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
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
Martin
646d3aa154
feat: Prepare v3 release ( #503 )
...
* feat: Remove deprecated docker_container attributes.
* feat: Remove deprecated docker_service atttribute.
* feat: Remove deprecated `build` attribute from docker_registry_image.
* feat: Remove deprecated attributes of docker_image.
* docs: Generate and update documentation.
* fix: Add MigrateState for docker_container again.
* docs: Fix docs linting errors.
* docs: Fix tf formatting in docs.
2023-01-13 13:11:51 +01:00
Martin
661c6628ff
feat: Migrate build block to docker_image ( #501 )
...
* feat: docker_image now has all build capabilities from docker_registry_image
* tests: Move all docker_registry_image build tests to docker_image.
* fix: Change build.context to optional.
* docs: Update docs.
2023-01-05 13:27:40 +01:00
Manuel Vogel
a5332be18d
feat(service): add alias for networks ( #241 )
...
* feat(service): outlines alias for networks
* feat: Add driver_opts sub-attribute.
* fix: network driver options type conversions.
* fix: Temporarily fix docker_service tests.
Co-authored-by: Martin <Junkern@users.noreply.github.com>
Co-authored-by: Martin Wentzel <martin.wentzel@kreuzwerker.de>
2023-01-04 14:03:13 +01:00
Martin
5ffe0f3628
feat: Add platform attribute to docker_image resource ( #500 )
...
* feat: Add platform attribute to docker_image resource
* docs: Add updated docker_image documentation.
2022-12-28 11:38:42 +01:00
Martin
380cebf01e
feat: Support registries with disabled auth ( #494 )
...
* feat: Support registries with no auth.
* tests: Test registry with disabled auth.
* docs: Update provider documentation.
2022-12-22 16:55:26 +01:00
Martin Wentzel
3b904484f4
fix: Pin data source specific tag test to older tag.
...
The new one gets constantly a new sha that's why tests always fail.
2022-12-16 15:17:35 +01:00
Buk Bukowski
3534622b92
feat: add docker logs data source ( #471 )
...
* working docker-logs
Signed-off-by: bukowa <gitbukowa@gmail.com>
* add tests
Signed-off-by: bukowa <gitbukowa@gmail.com>
* add description to logs_list_string
Signed-off-by: bukowa <gitbukowa@gmail.com>
* allow discarding docker-logs headers
Signed-off-by: bukowa <gitbukowa@gmail.com>
* add auto generated docs
Signed-off-by: Buk Bukowski <gitbukowa@gmail.com>
Signed-off-by: bukowa <gitbukowa@gmail.com>
Signed-off-by: Buk Bukowski <gitbukowa@gmail.com>
2022-10-17 13:50:45 +02:00
Martin
f34bec792b
fix: Replace deprecated .latest attribute with new image_id. ( #453 )
2022-09-05 15:14:45 +02:00
Martin
fdd628e915
fix: Add ForceTrue to docker_image name attribute. ( #421 )
...
* fix: Add ForceTrue to docker_image name attribute.
* fix: Test for docker_image name attribute change does not need to check for specific sha sums.
2022-08-01 08:44:47 +02:00
Martin
777e292b7f
feat: Implementation of docker_tag resource. ( #418 )
...
* feat: Basic implementation of docker_tag resource.
* feat: Adding new AccDockerTag tests to ci pipeline.
* fix: Update failing tests.
* docs: Update tags documentation.
* fix: Fix docker_tags test.
* fix: docker_tag tests now download platform specific images.
* fix: also pull correct busybox image for dockert_tag test.
2022-07-28 14:03:16 +02:00
Martin
df4b76aa04
fix: Enable authentication to multiple registries again. ( #400 )
...
* fix: Enable authentication to multiple registries again.
* fix: Tests run when conflictsWith is disabled.
* chore: Improve docs for multiple registry auth.
* tests: Add multiple registry auth test.
* fix: Correct index of auth structure.
* chore: Add newest docs [ci skip]
2022-07-15 13:05:26 +02:00
Martin
78c42d7657
fix: Enables having a Dockerfile outside the context ( #402 )
...
* tests: Add failing test for Dockerfile outside context.
* fix: Enable support for Dockerfiles outside context.
Also extract some code to functions.
* fix: Adding docker outside context test and implementation for docker_registry_image.
2022-07-13 09:01:52 +02:00
Martin
401ff5e8ad
fix: Correctly handle build files and context for docker_registry_image ( #398 )
...
* tests: Add file_permission test which is failing for now.
* tests: Add whitelist_dockerignore test which is failing for now.
* fix: Various issues with docker_registry_image build process.
2022-07-11 15:18:55 +02:00
Marcel Meulemans
af072b22aa
fix: compare relative paths when excluding, fixes kreuzwerker#280 ( #397 )
2022-07-07 15:08:57 +02:00
Martin
dc8757e5f3
feat(src): Enable buildkit when client has support. ( #387 )
...
* feat(src): Enable buildkit when client has support.
* fix: Increase timeout of testsuite to 12min
* fix: docker_image datasource tests use smaller busybox image.
* fix: Use image version which are available on arm64.
* fix: Remove session dialer from buildkit implementation.
Did not do really anything
* feat: Buildkit is now working.
* fix: Disable linting for one specific line.
* fix: Fixes TestAccDockerImage_basic test.
The used image names in the two subtests must be different.
2022-06-23 10:32:31 +02:00
renovate[bot]
f8422a558e
chore(deps): update nginx docker tag to v1.21.4 ( #309 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 20:03:01 +01:00
renovate[bot]
aaf22f3585
chore(deps): update nginx:1.21.3 docker digest to 644a705 ( #295 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 19:18:04 +02:00
renovate[bot]
9123931e6e
chore(deps): update nginx docker tag to v1.21.3 ( #287 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-16 09:28:17 +02:00
renovate[bot]
7fe0f00d95
chore(deps): update nginx:1.21.1 docker digest to a05b0cd ( #273 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-07 08:54:47 +02:00
renovate[bot]
1dd23037df
chore(deps): update alpine docker tag to v3.14.2 ( #277 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-31 12:33:07 +02:00
renovate[bot]
ac8909d604
chore(deps): update alpine docker tag to v3.14.1 ( #263 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-10 09:37:13 +02:00
Manuel Vogel
600a84979d
feat: add container storage opts ( #258 )
2021-08-05 06:59:48 +09:00
renovate[bot]
dc7973ad77
chore(deps): update nginx:1.21.1 docker digest to 8f33576 ( #252 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-26 10:14:11 +02:00
renovate[bot]
92bb2ccdf7
chore(deps): update nginx:1.21.1 docker digest to 11d4e59 ( #251 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-22 09:28:41 +02:00
renovate[bot]
17db6ebfa6
chore(deps): update nginx:1.21.1 docker digest to 353c20f ( #248 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-12 13:59:41 +02:00
renovate[bot]
ce43fbee6f
chore(deps): update nginx docker tag to v1.21.1 ( #243 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-09 09:06:31 +02:00
Manuel Vogel
7f96a26866
fix/service bind options ( #234 )
...
* fix: give service bind_options propagation rprivate as default
* test: add second bind mount for full-service spec to test this case as well
* docs: add a second mount to service example
* fix(service): allow other options for mount binds although they might not be the specified type
* test: for empty and null mount bind
* docs(service): explains propagation more in details
* docs(service): adds missing default for propagation
* fix(test): update stop grace period to 30s for flaky test on gh actions
Co-authored-by: Shunsuke Suzuki <suzuki-shunsuke@users.noreply.github.com>
2021-06-27 16:34:01 +02:00
renovate[bot]
82164a885c
chore(deps): update nginx:1.21.0 docker digest to d1b8ff2 ( #232 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-23 08:54:06 +02:00
renovate[bot]
e63b5ac030
chore(deps): update alpine docker tag to v3.14.0 ( #225 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-21 09:26:12 +02:00
Manuel Vogel
4d40b84443
fix/service image name ( #212 )
...
* fix(service): remove image name suppress function
* feat: add docker image data-source
* docs(service): add example for iamge datasource usage
* fix: image repo digest with tag determination
* fix: always return a repoDigest
* fix(image): deprecation notice for latest attribute
* fix(ci): explicitly go get tfplugindocs
* fix(ci): remove gocenter.io proxy
2021-06-21 09:24:02 +02:00
Manuel Vogel
142144ac38
chore(deps): update stocard/gotthard docker digest to 38c2216
2021-05-31 22:13:52 +02:00
Manuel Vogel
739f4496fb
chore(deps): update nginx docker tag to v1.21.0
2021-05-31 22:13:37 +02:00
Manuel Vogel
35c05b1f57
chore(deps): update nginx:1.18.0-alpine docker digest to 93baf2e
2021-05-31 22:11:48 +02:00
Renovate Bot
75e75afb8a
chore(deps): update nginx docker tag to v1.21.0
2021-05-31 11:28:18 +00:00
Renovate Bot
2fd27d7eb0
chore(deps): update alpine docker tag to v3.13.5
2021-05-31 11:28:13 +00:00
Renovate Bot
da1bcc63ff
chore(deps): update stocard/gotthard docker digest to 38c2216
2021-05-31 11:28:08 +00:00
Renovate Bot
30df20e800
chore(deps): update nginx:1.18.0-alpine docker digest to 93baf2e
2021-05-31 11:28:03 +00:00