Commit graph

756 commits

Author SHA1 Message Date
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
renovate[bot]
79aad658dc
fix(deps): update module github.com/golangci/golangci-lint to v1.59.0 (#474)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-30 18:06:01 +02:00
renovate[bot]
3e9c4a5568
fix(deps): update module github.com/katbyte/terrafmt to v0.5.3 (#614)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-09 10:22:11 +00:00
Joe Atzberger
aae4820ad4
Typo: s/presend/present/ (#606)
Co-authored-by: Jonatan Reiners <jonatan.reiners@kreuzwerker.de>
2024-05-09 08:54:08 +02:00
renovate[bot]
d122ff1b9b
chore(deps): update golangci/golangci-lint-action action to v6 (#615)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-08 16:47:23 +02:00
Jonatan Reiners
09528d1c0e
chore: update Go version to 1.22 for consistency across workflows, jo… (#613)
* chore: update Go version to 1.22 for consistency across workflows, jobs, and modules.

* build: Update GitHub Actions setup-go and golangci-lint versions.

* refactor: Replace ioutil.ReadFile and ioutil.ReadAll with os.ReadFile and io.ReadAll.

* go fmt

* 🔄 Update actions/checkout and actions/setup-go to v4 and v5, respectively.

*  Refactor: Add b64 function to convert file to base64 in testacc_setup.sh.

*  Update Go version requirement in CONTRIBUTING.md.

*  Fix typo and improve error message format.

*  enhance: Improve error message in TestAccDockerContainer_uploadAsBase64.

*  Fix: Update file permissions for test2.txt in docker container tests.
2024-05-08 14:59:49 +02:00
Martin Wentzel
54685a5fb9 chore: Prepare release v3.0.2 2023-03-17 16:53:28 +01:00
Martin
586de757d8
fix: Implement proxy support. (#529) 2023-03-17 16:15:41 +01:00
Gustavo Michels
b15ea021d7
feat(container): add MAC address to state (#523)
Co-authored-by: Gustavo Michels <gmichels@nanthealth.com>
Co-authored-by: Martin <Junkern@users.noreply.github.com>
2023-03-15 13:42:33 +01:00
renovate[bot]
a89059b6ca
fix(deps): update module github.com/hashicorp/terraform-plugin-docs to v0.14.1 (#519)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-15 13:31:13 +01:00
Evan Farrar
e075398af1
docs: correct spelling of "networks_advanced" (#517) 2023-02-20 09:27:23 +01:00
renovate[bot]
763b906070
fix(deps): update module github.com/hashicorp/terraform-plugin-sdk/v2 to v2.25.0 (#515)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-02-16 10:39:04 +01:00
Martin Wentzel
3d4f20d5e4 chore: Prepare release v3.0.1 2023-01-13 15:57:50 +01:00
Martin
b15d5696a7
fix: Access health of container correctly. (#506) 2023-01-13 15:57:26 +01:00
Martin Wentzel
925047a2b3 chore: Prepare release v3.0.0 2023-01-13 13:47:19 +01: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 Wentzel
617f2ed44e docs: Update documentation. 2023-01-09 11:45:29 +01:00
Martin
0f65e0577a
docs: Add migration guide and update README (#502) 2023-01-09 11:25:28 +01:00
Martin Wentzel
59d265802a chore: Prepare release v2.25.0 2023-01-05 13:33:33 +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
19191883d5
feat: Add sysctl implementation to container of docker_service. (#499) 2022-12-23 15:29:17 +01:00
Martin
b30ba0c07c
docs: Add documentation of remote hosts. (#498) 2022-12-23 14:56:08 +01:00
Martin Wentzel
18aee85381 chore: Prepare release v2.24.0 2022-12-23 12:25:04 +01:00
Martin
8a4be13ce1
feat: cgroupns support (#497)
* feat: Add cgroupns mode to docker container.

* docs: Create docs.
2022-12-23 10:45:12 +01:00
Joseph Lenox
9233454972
feat: Add triggers attribute to docker_registry_image (#496)
Co-authored-by: WassimKallel <wassimkallel@think-it.io>
2022-12-22 19:48:04 +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
0017485163 tests: Add test for parsing auth headers. 2022-12-22 14:49:05 +01:00
Martin Wentzel
e54559b7e0 docs: Fix generated website. 2022-12-22 14:36:24 +01:00
renovate[bot]
769e8620df
chore(deps): update goreleaser/goreleaser-action action to v4 (#485)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-22 14:22:03 +01:00
renovate[bot]
9e64a2eb0a
fix(deps): update module github.com/docker/docker to v20.10.22+incompatible (#490)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-22 10:37:02 +01:00
renovate[bot]
fe1d4ff0c0
fix(deps): update module github.com/docker/cli to v20.10.22+incompatible (#489)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-21 20:45:39 +01:00
Joseph Lenox
3f67a3df9d
feat: add IPAM options block for docker networks (#491)
* Hack in IPAM options as they are the same data structure as network options.

* Add IPAM options to read refresh

* docs: Add `ipam_options` to network documentation.

* docs: Revise IPAM options documentation to make more clear as to what it does.

* refactor: remove Computed options as prompted from review
2022-12-21 17:24:51 +01:00