Commit Graph

12 Commits

Author SHA1 Message Date
Clemens Wältken
8e843119f3 build: generalize the image tag in image workflow (#2277)
This allows forks of atlantis to push images to their own ghcr.
2022-05-25 16:08:48 -04:00
dependabot[bot]
3ad58e2662 build(deps): bump docker/setup-buildx-action from 1 to 2 (#2249)
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>
2022-05-13 14:28:06 -07:00
dependabot[bot]
f347611648 build(deps): bump docker/build-push-action from 2 to 3 (#2248)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2...v3)

---
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>
2022-05-13 14:13:46 -07:00
dependabot[bot]
d5f868c2f9 build(deps): bump docker/login-action from 1 to 2 (#2250)
Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1...v2)

---
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>
2022-05-13 14:13:05 -07:00
dependabot[bot]
7f7fae9112 build(deps): bump docker/setup-qemu-action from 1 to 2 (#2251)
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>
2022-05-13 14:12:39 -07:00
dependabot[bot]
59929b85b4 build(deps): bump actions/checkout from 2 to 3 (#2119)
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>
2022-03-07 11:18:40 -05:00
Rui Chen
317b922c8e build: add concurrency control
Refs: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-a-fallback-value

Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-02-23 00:39:13 -05:00
Rui Chen
4a57b30285 atlantis-base: fix context 2021-12-15 17:27:01 -05:00
Rui Chen
245a9015e4 atalntis-base: update platforms and path trigger
> Supported architectures: (more info) `amd64`, `arm32v6`, `arm32v7`, `arm64v8`, `i386`, `ppc64le`, `riscv64`, `s390x`

https://hub.docker.com/_/alpine

Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-12-15 17:21:50 -05:00
Rui Chen
726ec5aa10 atlantis-base: update platforms
https://hub.docker.com/layers/alpine/library/alpine/3.15.0/images/sha256-c74f1b1166784193ea6c8f9440263b9be6cae07dfe35e32a5df7a31358ac2060

Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-12-15 17:14:42 -05:00
Rui Chen
a55a75b469 docker: setup multi-platform build for atlantis-base
Use master branch for testing instead 🤦

closes #1932
closes #1940

Signed-off-by: Rui Chen <rui@chenrui.dev>
2021-12-15 17:08:23 -05:00
rui
9fc4f13407 workflow: automate atlantis-base image build (#1648)
* workflow: add atlantis-base image automation

* comment out path trigger

* push to ghcr.io registry

Signed-off-by: Rui Chen <rui@chenrui.dev>

* rm ` rm -rf /root/.gnupg`

```
rm: can't remove '/root/.gnupg/S.gpg-agent.extra': No such file or directory

```

* try a different cleanup fix

* use GITHUB_TOKEN for accessing ghcr.io registry

Signed-off-by: Rui Chen <rui@chenrui.dev>

* also tag latest image

Signed-off-by: Rui Chen <rui@chenrui.dev>

* only runs on master

Signed-off-by: Rui Chen <rui@chenrui.dev>

* also can be manually triggered

Signed-off-by: Rui Chen <rui@chenrui.dev>

* update date fmt `yyyy.mm.dd` for docker tag
2021-06-22 18:50:48 -04:00