Commit Graph

22 Commits

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