Commit Graph

10 Commits

Author SHA1 Message Date
Dmytro Bondar d72fdcaa7b
Update workflows (#998)
* Add IPC_LOCK capability to vault containers

Signed-off-by: Dmytro Bondar <git@bonddim.com>

* Add github-actions to dependabot config

Signed-off-by: Dmytro Bondar <git@bonddim.com>

* Use one goreleaser workflow

Signed-off-by: Dmytro Bondar <git@bonddim.com>

* Update actions

Signed-off-by: Dmytro Bondar <git@bonddim.com>

* Update and move lint job to ci workflow

Signed-off-by: Dmytro Bondar <git@bonddim.com>

* Remove cache task, get go version from go.mod

Signed-off-by: Dmytro Bondar <git@bonddim.com>

* Reformat ci.yaml

Signed-off-by: Dmytro Bondar <git@bonddim.com>

* Update goreleaser changelog config

Signed-off-by: Dmytro Bondar <git@bonddim.com>

* Add workflow to cleanup PR caches

Signed-off-by: Dmytro Bondar <git@bonddim.com>

---------

Signed-off-by: Dmytro Bondar <git@bonddim.com>
2023-09-04 06:37:21 -05:00
Ronny Moreas 58a1f2d079
chore(release): fix condition for latest tag (#823)
Signed-off-by: Ronny Moreas <ronny.moreas@kuleuven.be>
2023-04-22 16:55:04 +08:00
Ronny Moreas 10d640b211
chore(release): add latest tag only on release tags (#766) 2023-03-26 05:12:49 +08:00
Ronny Moreas d34cfaafa1
chore(ci): use `docker/metadata-action` (#756)
* chore(ci): use `docker/metadata-action`

- Replace custom `setup-image-vars` action by `docker/metadata-action`
- Automatically add latest tag on semver tag

Signed-off-by: Ronny Moreas <ronny.moreas@kuleuven.be>

* chore(ci): add image tag on PR

Signed-off-by: Ronny Moreas <ronny.moreas@kuleuven.be>

* chore(ci): cleanup trailing spaces

Signed-off-by: Ronny Moreas <ronny.moreas@kuleuven.be>

* chore(ci): remove `setup-image-vars` action

Signed-off-by: Ronny Moreas <ronny.moreas@kuleuven.be>

---------

Signed-off-by: Ronny Moreas <ronny.moreas@kuleuven.be>
2023-03-20 08:14:51 +08:00
yxxhero 295d54d838 fix tag miss in docker build
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-08-16 09:11:22 +08:00
Patrick Hobusch bbf790247b Refactor 'images' workflow, include Ubuntu image to push
Until now, the 'images' workflow was separated into two different jobs,
one for just building the images in e.g. pull requests and the other
one for building and pushing the images e.g. after a merge to the 'main'
branch, which resulted in code repetitions. Also, both jobs used
different approaches, one (build) using a 'matrix strategy' based on
the file name of the Dockerfile, the other one (build and push) having a
seperate build and push step for each Dockerfile.

With this change, both jobs have been unified into a single "build and
optionally push" job to remove the repetitions, which now also shares
the same approach - a matrix strategy based on the file names of the
Dockerfiles.

The package naming now follows a clear schema based on the file name of
the Dockerfile. 'Dockerfile' will result in a 'helmfile' package,
'Dockerfile.ubuntu' will result in a 'helmfile-ubuntu' package and so
on. In order to keep the 'helmfile-debian-stable-slim' image package
name, the 'Dockerfile.debian' had to be renamed to
'Dockerfile.debian-stable-slim' accordingly.

Furthermore, the evaluation of the condition whether a push is intended
(or not) has been moved directly to the 'push' flag of the
'docker/build-push-action'.

Signed-off-by: Patrick Hobusch <patrick.hobusch@gmail.com>
2022-08-10 09:01:37 +02:00
Yusuke Kuoka 1e5d309e68
The image publishing workflow should trigger on version tags
Ref https://github.com/helmfile/helmfile/discussions/211
2022-07-05 21:29:09 +09:00
yxxhero 3e60f72d1f
docker build test on ci (#164)
* docker build test on ci

Signed-off-by: yxxhero <aiopsclub@163.com>

* fix issue

Signed-off-by: yxxhero <aiopsclub@163.com>

* fix issue

Signed-off-by: yxxhero <aiopsclub@163.com>
2022-06-18 18:13:32 +09:00
Quan TRAN 30f53b914e
rename stage/job in github actions 2022-05-23 10:15:49 +02:00
Quan TRAN d5f37b0e35 build image on tag
Signed-off-by: Quan TRAN <account@itscaro.me>
2022-05-16 17:18:49 +02:00