Commit Graph

37 Commits

Author SHA1 Message Date
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
Some checks failed
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