[CI] Build PR images on GHCR (#3432)

* Upgrade CI

* Keep lint and test on tags

* Keep actions/checkout@v3

* Consider CI on branches named v*

* Fix write packages

* Distinct Elixir CI and PR Build

* Rename build

* Fix type

* Add workflow_dispatch

* Add timeout to prevent stuck jobs

* Add actions for buildx and merge

* fix username ?

* Add grafana images from PR

* fix typo

* Finih merge action refactoring

* Exclude PRs related to .github from auto-run

* Don't try to auth on DockerHub when we can't

* tmp allow myself to execute

* Update ghcr_build.yml to be able to write on packages from public fork

* Revert ghcr_build.yml

* Update ghcr_build.yml

* Update to build on source repo

* Update ghcr_build.yml to test

* Use correct repo with REGISTRY_IMAGE

* Update ghcr_build.yml

* Update ghcr_build.yml

* Update ghcr_build.yml

* Update ghcr_build.yml

* Update ghcr_build.yml

* Use dynamic variables to work in all repos

* Purge in source repo

* Update ghcr_build.yml

* Update ghcr_build.yml

* Update ghcr_build.yml

* Update action.yaml

* Update ghcr_build.yml

* Update buildx.yml

* Update action.yaml

* Fix vars

* Trace digests

* Update action.yml

* Update action.yml

* Fix typo

* Fox repo name

* Update buildx.yml

* Update action.yaml

* Fix repository name

* Run on any branch pushed

* Exclude PRs related to .github from auto-run

* Add buildjet dependency

* lint

* lint actions

* fix: links in dashboards

---------

Co-authored-by: Julien <julien@citio.digital>
This commit is contained in:
jlestel
2023-11-17 02:37:04 +01:00
committed by GitHub
co-authored by Julien
parent d7f6349cb2
commit b65b3f3992
10 changed files with 308 additions and 95 deletions
+3 -3
View File
@@ -106,7 +106,7 @@
{
"targetBlank": false,
"title": "View charge details",
"url": "d/BHhxFeZRz?from=${__data.fields.start_date_ts.numeric}&to=${__data.fields.end_date_ts.numeric}&var-car_id=${__data.fields.car_id.numeric}&var-charging_process_id=${__data.fields.id.numeric}"
"url": "d/BHhxFeZRz?from=${__data.fields.start_date_ts.numeric}&to=${__data.fields.end_date_ts.numeric}&var-car_id=${__data.fields.car_id.numeric}&var-charging_process_id=${__data.fields.id.numeric:raw}"
}
]
},
@@ -302,7 +302,7 @@
{
"targetBlank": false,
"title": "Set Cost",
"url": "[[base_url:raw]]/charge-cost/${__data.fields.id.numeric}"
"url": "[[base_url:raw]]/charge-cost/${__data.fields.id.numeric:raw}"
}
]
},
@@ -389,7 +389,7 @@
{
"targetBlank": true,
"title": "Create or edit geo-fence",
"url": "[[base_url:raw]]/geo-fences/${__data.fields.path}"
"url": "[[base_url:raw]]/geo-fences/${__data.fields.path:raw}"
}
]
},
+1 -1
View File
@@ -969,7 +969,7 @@
{
"targetBlank": true,
"title": "",
"url": "[[base_url:raw]]/geo-fences/${__data.fields.id.numeric}/edit"
"url": "[[base_url:raw]]/geo-fences/${__data.fields.id.numeric:raw}/edit"
}
]
},
+2 -2
View File
@@ -1637,7 +1637,7 @@
{
"targetBlank": false,
"title": "View charge details",
"url": "d/BHhxFeZRz?from=${__data.fields.start_date_ts.numeric}&to=${__data.fields.end_date_ts.numeric}&var-car_id=${__data.fields.car_id.numeric}&var-charging_process_id=${__data.fields.id.numeric}"
"url": "d/BHhxFeZRz?from=${__data.fields.start_date_ts.numeric}&to=${__data.fields.end_date_ts.numeric}&var-car_id=${__data.fields.car_id.numeric}&var-charging_process_id=${__data.fields.id.numeric:raw}"
}
]
},
@@ -1782,7 +1782,7 @@
{
"targetBlank": false,
"title": "Set Cost",
"url": "[[base_url:raw]]/charge-cost/${__data.fields.id.numeric}"
"url": "[[base_url:raw]]/charge-cost/${__data.fields.id.numeric:raw}"
}
]
},