nitrocode
350a158b6b
bugfix: add missing build-args to dev image ( #2787 )
2022-12-13 12:14:56 -06:00
nitrocode
785b4cf76f
Use correct image suffix for alpine/debian ( #2775 )
2022-12-11 21:49:51 -06:00
nitrocode
7a29286c3c
Use correct image suffix for alpine/debian ( #2774 )
2022-12-11 21:07:49 -06:00
nitrocode
5773945b4b
Separate alpine image ( #2770 )
2022-12-11 20:22:51 -06:00
Jeppe Fihl-Pearson
124eb6b4a8
Use GitHub Actions cache when building Docker images ( #2737 )
...
* Use GitHub Actions cache when building Docker images
This firstly removes the `pull: true` option from all
`build-push-action` invocations, as it was assumed it caused Docker to
pull the existing image first before building the new one, where as it
instead makes sure the base image is up to date prior to starting the
build.
Instead the `cache-from` and `cache-to` options are added which cause
the action to store and retrieve caches for each layer from GitHub
Actions' cache system as documented at
https://docs.docker.com/build/ci/github-actions/examples/#cache-backend-api .
* Pin exact Go version in testing image
This matches what is done for the production image.
2022-12-04 21:16:57 -06:00
nitrocode
e2b4ec444b
atlantis-image: yaml fix using a separate env var ( #2725 )
...
* atlantis-image: yaml fix using a separate env var
* Update atlantis-image.yml
* Update atlantis-image.yml
* Update atlantis-image.yml
* Update atlantis-image.yml
* Update atlantis-image.yml
* Update atlantis-image.yml
2022-11-25 21:57:16 -06:00
nitrocode
a0c7dd8d98
atlantis-image: yaml fix using single quotes ( #2722 )
2022-11-25 20:57:07 -06:00
nitrocode
f3bf05e26c
Run docker pull before building images ( #2714 )
...
* atlantis-base: Add pull: true
* atlantis-image: Add pull: true
* testing-env-image: Add pull: true
2022-11-24 14:06:46 -06:00
nitrocode
065adc3214
chore: rm duplicate make test-all, no push to latest on refs with "pre" ( #2703 )
...
* Remove duplicate make test-all in circleci
* Prevent pushing latest tag on refs with "pre"
* DRY up atlantis-image.yaml
2022-11-21 00:05:17 -06:00
nitrocode
d85662cdf1
Rename default branch to main ( #2662 )
...
* Rename default branch to main
* Bump git, curl, and openssl packages
2022-11-14 11:28:29 -06:00
nitrocode
ff3f721174
Use go 1.19 ( #2670 )
...
* Use go 1.19
* docker-base: bump openssl, git, curl and fix nsswitch
2022-11-12 21:58:24 -06:00
nitrocode
fa7163dee6
Bump atlantis-base:2022.10.14 ( #2589 )
...
* Bump atlantis-base:2022.10.14
* atlantis-image: Build on Dockerfile changes in PRs
* atlantis-image: init on push & pull_request events
2022-10-14 17:28:01 -05:00
Rui Chen
ce4c7dbd51
fix(workflows): fix docker image publish flow ( #2580 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
Signed-off-by: Rui Chen <rui@chenrui.dev >
2022-10-10 10:07:12 -07:00
PePe Amengual
e8c0b5e66a
Revert "Fix concurrency in atlantis-image workflow ( #2556 )" ( #2565 )
...
This reverts commit 8d543264c4 .
2022-10-06 19:24:08 -07:00
nitrocode
8d543264c4
Fix concurrency in atlantis-image workflow ( #2556 )
2022-10-05 20:09:28 -07:00
Rui Chen
b3b110753f
workflows: update runner to use ubuntu-22.04 ( #2502 )
...
Signed-off-by: Rui Chen <rui@chenrui.dev >
Signed-off-by: Rui Chen <rui@chenrui.dev >
2022-09-07 20:23:57 -04:00
Rui Chen
8d45adb18a
Revert "workflows: build image in parallel ( #2361 )" ( #2372 )
...
This reverts commit 8c0ca6bb29 .
2022-07-08 12:09:54 -04:00
Clemens Wältken
8c0ca6bb29
workflows: build image in parallel ( #2361 )
...
* Enable GitHub matrix strategy to run builds in parallel
* apply matrix build for the other images
Signed-off-by: Rui Chen <rui@chenrui.dev >
Co-authored-by: Rui Chen <rui@chenrui.dev >
2022-07-06 22:18:31 -04:00
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]
c43c0437ff
build(deps): bump actions/setup-go from 2 to 3 ( #2194 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-go
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-04-11 12:27:50 -04:00
Rui Chen
3f2b8787d8
release: add pre-release flow ( #2185 )
...
* release: add pre-release flow
* update image creation flow
Signed-off-by: Rui Chen <rui@chenrui.dev >
2022-04-08 13:03:11 -04: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
af2e9ed559
workflows: publish images on tags rather than on releases
...
This would avoid the draft release issue of triggering image building twice
2022-01-25 17:05:02 -05:00
Jeppe Fihl-Pearson
1a342eda4d
workflows(atlantis-image): fix building and publishing of Docker images ( #1975 )
...
https://github.com/runatlantis/atlantis/pull/1943 changed the way Docker images
were built in GitHub Actions so multi-architecture Docker images now are built,
but it unfortunately included a bug which means it hasn't worked yet on any
released version of Atlantis.
The problem is the change expected environment variables to be replaced in the
regular YAML code instead of just the commands which are run.
This attempts to fix that by instead using the template language available to
access the same environment variable.
This is based on the example provided in the documentation here:
https://docs.github.com/en/actions/learn-github-actions/environment-variables .
2022-01-05 10:57:11 -05:00
rui
45e8513f23
docker: make multi-platform atlantis image ( #1943 )
...
* docker: multi-platform image for atlantis
* workflow: update for multi platform image builds
Signed-off-by: Rui Chen <rui@chenrui.dev >
* update branch trigger for testing dev image
Signed-off-by: Rui Chen <rui@chenrui.dev >
* revert to use testing-env:2021.08.31
Signed-off-by: Rui Chen <rui@chenrui.dev >
* Revert "update branch trigger for testing dev image"
This reverts commit 266e04da08 .
2021-12-17 14:41:05 -05:00
rui
317503a071
build: bump to use go1.17 ( #1766 )
...
* build: bump to use go1.17
Signed-off-by: Rui Chen <rui@chenrui.dev >
2021-08-30 23:19:46 -04:00
rui
d502bed81b
workflow: point latest release to latest release ( #1677 )
...
* workflow: point latest release to latest release
Signed-off-by: Rui Chen <rui@chenrui.dev >
* use dev instead of nightly
Signed-off-by: Rui Chen <rui@chenrui.dev >
2021-07-07 16:43:42 -04:00
Nish Krishnan
97a3f75c13
workflow: add steps for releasing tagged images ( #1661 )
...
* Add release workflow.
* Update .github/workflows/atlantis-image.yml
Co-authored-by: rui <rui@chenrui.dev >
* Update .github/workflows/atlantis-image.yml
Co-authored-by: rui <rui@chenrui.dev >
* parse out GITHUB_REF for RELEASE_VERSION
Co-authored-by: rui <rui@chenrui.dev >
2021-06-24 08:26:35 -07:00
rui
a1b3aac9cf
workflow: automate atlantis image build ( #1650 )
...
* workflow: automate atlantis image build
* build atlantis artifact
* remove docker_master job from circleci
* build and publish latest image on master push
* use v2 instead of v2.1.3
* restore docker_master job for now
2021-06-22 18:50:21 -04:00