Marcin Rataj
b5078b005d
chore: remove deprecated go-ipfs Docker image publishing ( #11081 )
...
CodeQL / codeql (push) Waiting to run
Docker Check / lint (push) Waiting to run
Docker Check / build (push) Waiting to run
Gateway Conformance / gateway-conformance (push) Waiting to run
Gateway Conformance / gateway-conformance-libp2p-experiment (push) Waiting to run
Go Build / go-build (push) Waiting to run
Go Check / go-check (push) Waiting to run
Go Lint / go-lint (push) Waiting to run
Go Test / go-test (push) Waiting to run
Interop / interop-prep (push) Waiting to run
Interop / helia-interop (push) Blocked by required conditions
Interop / ipfs-webui (push) Blocked by required conditions
Sharness / sharness-test (push) Waiting to run
Spell Check / spellcheck (push) Waiting to run
stop publishing to ipfs/go-ipfs entirely - the deprecation stub
introduced in v0.39 is no longer needed. only ipfs/kubo is published.
- remove legacy-name job from docker-image.yml workflow
- remove .github/legacy/ (Dockerfile.goipfs-stub, goipfs_stub.sh)
- update bin scripts to use ipfs/kubo as default
2025-11-27 17:05:26 +01:00
dependabot[bot]
0453679e7b
chore(deps): bump actions/checkout from 5 to 6 ( #11076 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-25 07:29:20 -08:00
Marcin Rataj
35ba5091a5
feat: add docker stub for deprecated ipfs/go-ipfs name ( #10998 )
...
* feat: add docker stub for deprecated ipfs/go-ipfs name
implements docker part of #10941 by creating a stub image that redirects
users from ipfs/go-ipfs to ipfs/kubo
changes:
- add stub dockerfile and script in .github/legacy/
- modify docker-image.yml to push stub to ipfs/go-ipfs with same tags as ipfs/kubo
- remove ipfs/go-ipfs from get-docker-tags.sh to prevent docker-hub job from pushing to legacy name
- stub displays clear deprecation message directing users to ipfs/kubo:release
* docs: add v0.39 changelog highlight for go-ipfs deprecation
2025-10-02 20:08:24 +02:00
Marcin Rataj
82fef0c045
feat(ci): docker linting ( #10927 )
...
CodeQL / codeql (push) Has been cancelled
Docker Check / lint (push) Has been cancelled
Docker Check / build (push) Has been cancelled
Gateway Conformance / gateway-conformance (push) Has been cancelled
Gateway Conformance / gateway-conformance-libp2p-experiment (push) Has been cancelled
Go Build / go-build (push) Has been cancelled
Go Check / go-check (push) Has been cancelled
Go Lint / go-lint (push) Has been cancelled
Go Test / go-test (push) Has been cancelled
Interop / interop-prep (push) Has been cancelled
Sharness / sharness-test (push) Has been cancelled
Spell Check / spellcheck (push) Has been cancelled
Interop / helia-interop (push) Has been cancelled
Interop / ipfs-webui (push) Has been cancelled
* feat(ci): docker linting
adds hadolint to validate dockerfile best practices
configures project-specific rules in .hadolint.yaml
* fix(ci): enable hadolint console output
adds verbose and tty format to see linting results in CI logs
* test: trigger hadolint warning
remove --no-install-recommends to test CI output
* fix(ci): fail hadolint on warnings
stricter linting to catch all best practice violations
* fix: add --no-install-recommends to apt-get
reduces image size by avoiding unnecessary packages
* refactor: use WORKDIR instead of cd in dockerfile
replaces cd commands with WORKDIR for cleaner dockerfile
removes unnecessary hadolint ignore rules DL3003 and DL3009
* chore: simplify hadolint config
removes unnecessary override rules for cleaner config
2025-08-26 17:01:06 +02:00
Marcin Rataj
c12d24949c
feat: optimize docker builds ( #10925 )
...
* feat(docker): optimize Dockerfile for faster builds
- add BuildKit syntax directive for advanced caching features
- implement cache mounts for Go modules and build cache
- reduce layers by combining RUN commands (5→2 in final stage)
- optimize apt-get with --no-install-recommends flag
- use COPY --chmod to avoid separate permission fixing
Performance improvements:
- incremental builds after code changes: ~8.6x faster (1m51s → 13s)
- go module/build cache persists between builds
- reduced layer count improves cache efficiency
* ci: optimize Docker builds with BuildKit caching
- enable BuildKit with GitHub Actions cache backend
- add Docker Hub registry cache for cross-workflow sharing
- move Docker login earlier to enable registry cache writes
- use dual cache strategy (gha + registry) for faster builds
expected improvements:
- PR builds can reuse main branch cache from Docker Hub
- rebuild after code changes ~5-10x faster with persistent cache
- cross-PR cache sharing reduces redundant builds
2025-08-21 14:44:19 +02:00
dependabot[bot]
5cb0943936
chore(deps): bump actions/checkout from 4 to 5 ( #10907 )
...
Dependabot couldn't find the original pull request head commit, 0292612bd5e16ed34f2974225fe170b15d4eb821.
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-15 00:32:05 +02:00
Marcin Rataj
c2922033c3
fix(ci): timeout and retry docker smoke test
2024-11-15 21:42:52 +01:00
Marcin Rataj
71048b7687
chore(ci): adjust timeout in docker job
...
CodeQL / codeql (push) Has been cancelled
Docker Build / docker-build (push) Has been cancelled
Gateway Conformance / gateway-conformance (push) Has been cancelled
Gateway Conformance / gateway-conformance-libp2p-experiment (push) Has been cancelled
Go Build / go-build (push) Has been cancelled
Go Check / go-check (push) Has been cancelled
Go Lint / go-lint (push) Has been cancelled
Go Test / go-test (push) Has been cancelled
Interop / interop-prep (push) Has been cancelled
Sharness / sharness-test (push) Has been cancelled
Interop / helia-interop (push) Has been cancelled
Interop / ipfs-webui (push) Has been cancelled
history of
https://github.com/ipfs/kubo/actions/workflows/docker-image.yml
shows the job takes ~5m, so 15m is plenty if something goes wrong.
2024-11-07 23:03:33 +01:00
Marcin Rataj
550f464263
chore(ci): build docker images for staging branch
2024-10-21 15:58:34 +02:00
dependabot[bot]
cc2402c256
chore(deps): bump docker/login-action from 3.1.0 to 3.3.0 ( #10460 )
...
* chore(deps): bump docker/login-action from 3.1.0 to 3.3.0
Bumps [docker/login-action](https://github.com/docker/login-action ) from 3.1.0 to 3.3.0.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](e92390c5fb...9780b0c442 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update .github/workflows/docker-image.yml
* Update .github/workflows/docker-image.yml
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2024-09-05 17:34:57 +02:00
dependabot[bot]
afe3ae0dac
chore(deps): bump docker/build-push-action from 5 to 6 ( #10451 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-21 16:07:15 +02:00
dependabot[bot]
78a96e3faf
chore(deps): bump docker/login-action from 3.0.0 to 3.1.0 ( #10373 )
2024-04-03 15:55:37 +02:00
dependabot[bot]
12ed20a7a6
chore(deps): bump actions/cache from 3 to 4
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-23 09:23:21 +01:00
dependabot[bot]
75f39a40cb
chore(deps): bump docker/setup-buildx-action from 2 to 3
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-11 20:31:10 +01:00
dependabot[bot]
24b223ceac
chore(deps): bump docker/build-push-action from 4 to 5
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-11 20:30:55 +01:00
dependabot[bot]
0ee0ec664a
chore(deps): bump docker/login-action from 2.2.0 to 3.0.0
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 2.2.0 to 3.0.0.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](465a07811f...343f7c4344 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-11 20:21:41 +01:00
dependabot[bot]
43629b5a7f
chore(deps): bump docker/setup-qemu-action from 2 to 3
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 2 to 3.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-11 20:21:30 +01:00
Henrique Dias
4a8badf98e
Revert "build,docker: add support for riscv64"
...
This reverts commit 765cffe6c2 .
2024-01-04 14:37:23 +01:00
Jorropo
765cffe6c2
build,docker: add support for riscv64
2024-01-02 18:21:01 +01:00
dependabot[bot]
2690e083b4
chore(deps): bump actions/checkout from 3 to 4 ( #10112 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 08:33:32 +02:00
Piotr Galar
16859b3c70
ci: allow custom tags in docker-image workflow ( #10099 )
...
* ci: allow custom ref and tags in docker-image workflow
* fix: ref default in case the workflow runs on push
* chore: remove customisable ref from docker-image
2023-08-25 08:24:19 +02:00
Piotr Galar
c5868a86be
refactor(ci): simplify Dockerfile and add docker image testing ( #10021 )
2023-07-27 19:53:24 +02:00
dependabot[bot]
67cd516ca5
chore(deps): bump docker/login-action from 1.10.0 to 2.2.0 ( #9979 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 1.10.0 to 2.2.0.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](f054a8b539...465a07811f )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-22 11:18:04 +02:00
dependabot[bot]
05bcae456a
chore(deps): bump actions/checkout from 2 to 3 ( #9975 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-22 10:06:30 +02:00
dependabot[bot]
9298e31bba
chore(deps): bump docker/setup-qemu-action from 1 to 2 ( #9953 )
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 1 to 2.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-15 17:35:34 +02:00
dependabot[bot]
364686ae1d
chore(deps): bump docker/setup-buildx-action from 1 to 2 ( #9952 )
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 1 to 2.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-15 17:18:29 +02:00
dependabot[bot]
27398ce93f
chore(deps): bump docker/build-push-action from 2 to 4 ( #9954 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 2 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v2...v4 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-15 17:17:13 +02:00
Marcin Rataj
6f08cdedc0
fix(ci): speed up docker build ( #9800 )
...
trying two things:
- speed up arm build by allowing cross-comp from go instead of slow QEMU
- take a stab at caching buildx layers, without infinite growth
This fix was laready applied in
14cfa48bed
and reduced build time from 20m to 3m.
2023-04-06 20:53:52 +02:00
galargh
64d3c153cb
Revert "ci: rename gha workflow files to match workflow names"
...
This reverts commit d164129258f456fb70dc709b59d743a8aed57cc2.
2023-03-21 14:59:51 +01:00
galargh
a8f2c12f71
ci: rename gha workflow files to match workflow names
2023-03-21 14:59:32 +01:00
galargh
2d65120fd5
ci: standarise gha names
2023-03-21 14:57:36 +01:00
Piotr Galar
5c4ac6f7d8
Merge branch 'master' into patch-2
2023-03-06 16:00:28 +01:00
Piotr Galar
e1f38d7567
ci: set sensible timeouts on all gha jobs ( #9683 )
2023-03-02 10:51:57 +01:00
galargh
3e24898488
fix: multiline output in docker image workflow
2023-01-14 11:34:28 +01:00
galargh
dc14ccd7fd
chore: use DOCKER_USERNAME from vars rather than secrets
2023-01-14 11:30:59 +01:00
galargh
c9ec418e71
fix: docker image publishing
2023-01-14 11:29:55 +01:00
Piotr Galar
d4cd414b5e
test: port CircleCI to GH Actions and improve sharness reporting ( #9355 )
...
Closes https://github.com/ipfs/kubo/issues/8991
Part of https://github.com/ipfs/kubo/issues/8804
2023-01-14 00:49:52 +01:00
Alex
2d00514e22
build: harden docker-image.yml permissions
...
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-11-30 23:56:23 +02:00
Marcin Rataj
7aced61a6e
refactor: kubo in .github/workflows
2022-07-06 23:08:31 +02:00
Marcin Rataj
b9240fe432
refactor(docker): publish images under both names
...
This ensures we keep publishing the same image under both names:
$ ./bin/get-docker-tags.sh $(date -u +%F) 88d88158c master ...chore/rename-to-banana
ipfs/kubo:master-2022-06-21-88d8815
ipfs/go-ipfs:master-2022-06-21-88d8815
ipfs/kubo:master-latest
ipfs/go-ipfs:master-latest
2022-07-06 18:40:39 +02:00
galargh
4798777377
ci: disable workflows in forks
2022-05-09 07:01:08 -04:00
odanado
0216bae307
docker: build for arm cpu ( #8633 )
...
ref: #4931
2022-02-15 16:54:47 -05:00
Marcin Rataj
c0f282f00f
ci: move Docker image build to Actions ( #8467 )
...
* ci: move docker image publishing to github
Closes #8330
* chore: remove dockerhub push from circleci
2021-09-28 22:30:36 +02:00