Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump @babel/traverse from 7.22.5 to 7.23.3 in /website #3402

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
edf32d1
Bump @babel/traverse from 7.22.5 to 7.23.3 in /website
dependabot[bot] Nov 12, 2023
b995693
Update freebsd.md (#3394)
ivanovd Nov 12, 2023
2202ca9
Show all vehicles on drive stats dashboard (#3342)
yoyostile Nov 12, 2023
38b1f8a
Update updates.json (#3289)
Dulanic Nov 12, 2023
8283be8
Update charge-details.json (#3294)
DrMichael Nov 12, 2023
3387b07
Fix: broken links when orgId is not 1 (#3380)
jlestel Nov 12, 2023
d83eb2e
Update query to get car efficiency on Battery Health dashboard (#3245)
jheredianet Nov 12, 2023
e636380
Update srtm to 0.8.0
adriankumpf Nov 12, 2023
af4ce18
Fix warnings on Elixir 1.16
adriankumpf Nov 12, 2023
78533fd
Remove donation links
adriankumpf Nov 12, 2023
de23066
Update repo URL
adriankumpf Nov 12, 2023
d71d9b6
Update POT file
adriankumpf Nov 12, 2023
f114659
Bump actions/checkout from 3 to 4 (#3409)
dependabot[bot] Nov 12, 2023
7b70ae7
Bump docker/metadata-action from 4 to 5 (#3408)
dependabot[bot] Nov 12, 2023
56d9c21
Bump docker/setup-buildx-action from 2 to 3 (#3411)
dependabot[bot] Nov 12, 2023
2b51563
Bump docker/setup-qemu-action from 2 to 3 (#3410)
dependabot[bot] Nov 12, 2023
bebfdf2
Fix formatting
adriankumpf Nov 12, 2023
16fc358
Bump Grafana to 9.5.13
adriankumpf Nov 12, 2023
4091a98
Update repo URL in GH workflows
adriankumpf Nov 12, 2023
c2523aa
Downgrade Grafana to 9.5.10
adriankumpf Nov 12, 2023
12ce5f2
Fix workflow permissions
adriankumpf Nov 12, 2023
4e21914
Bump docker/login-action from 2.0.0 to 3.0.0 (#3404)
dependabot[bot] Nov 12, 2023
bfd1a92
Update CHANGELOG
adriankumpf Nov 12, 2023
19016e6
Update CHANGELOG
adriankumpf Nov 12, 2023
9144cbb
none sold, no-longer for sale (#3419)
LelandSindt Nov 13, 2023
0f36092
Update pr0ps-trackmap-panel version in docs (#3385)
brianmay Nov 13, 2023
2dd7023
Update backup_restore.md (#3291)
tsongalin Nov 13, 2023
1ae91e1
Fix FreeBSD install instructions (#3277)
uqs Nov 13, 2023
decf2a5
Fix link to Charge Level dashboard (#3263)
Sjorsa Nov 13, 2023
89a0915
Create stale.yml
Dulanic Nov 13, 2023
2927a42
Revert "Create stale.yml"
Dulanic Nov 13, 2023
7847b9d
Update docker.md
Dulanic Nov 14, 2023
c1344c0
added tire low pressure icon to teslamate web (#3424)
NirKli Nov 14, 2023
5945d3d
ui: sync meta theme-color with header background color (#2840)
libotony Nov 16, 2023
c689e0a
Add charging_state to VehicleSummary (#3087)
brianmay Nov 16, 2023
f7d8c8a
feat: Add LFP variants of Grafanaf dashboards (#3311)
eden881 Nov 16, 2023
73c66b7
ci: Fix failed elixir tests (#3428)
NirKli Nov 16, 2023
c51839c
Revert "ci: Fix failed elixir tests (#3428)" (#3440)
JakobLichterfeld Nov 16, 2023
04ed891
Avg cost statistics (#3030)
fmossott Nov 16, 2023
02725a4
Update HA integrations docs with TPMS sensors and examples (#2845)
marspath Nov 16, 2023
af2ba59
[CI] Build PR images on GHCR (#3432)
jlestel Nov 17, 2023
7ddf24f
Revert "[CI] Build PR images on GHCR (#3432)" (#3441)
JakobLichterfeld Nov 17, 2023
e375b98
fix: Dashboard links (#3443)
jlestel Nov 17, 2023
44db4f8
doc: fix code style in freebsd section (#3461)
ivanovd Nov 20, 2023
16c1ad2
Update freebsd.md (#3462)
ivanovd Nov 20, 2023
8d076bf
Update charges.json (#3463)
DrMichael Nov 20, 2023
47ff0f3
ci: use elixir 1.16 (#3465)
JakobLichterfeld Nov 20, 2023
c8438e1
Revert "ci: use elixir 1.16 (#3465)" (#3466)
JakobLichterfeld Nov 20, 2023
f9c6537
Revert "Add charging_state to VehicleSummary (#3087)" (#3468)
JakobLichterfeld Nov 20, 2023
6e71f6e
Updating Docs to advise docker-compose v1 is EOL and to upgrade to v2…
cwanja Nov 21, 2023
d2d1369
Use built-in grafana visuals instead of plugins (#3439)
oivindoh Nov 21, 2023
6c9fe51
Ensure Dashboards can be modified after Import - Migrate Projected Ra…
swiffer Nov 21, 2023
08d451e
Grafana update to 10.1.2 (#3455)
swiffer Nov 21, 2023
666d709
doc: typo and style for docker compose v2 notes
JakobLichterfeld Nov 21, 2023
1754979
Changelog for unreleased edge version
JakobLichterfeld Nov 21, 2023
db3170b
[CI] Build PR images on GHCR (#3445)
jlestel Nov 21, 2023
fc6c4e8
updated esbuild to resolve properly with esbuild-sass-plugin, and upd…
PhilThurston Nov 22, 2023
863462f
Add credo lint support (#3452)
brianmay Nov 22, 2023
7ce8484
Add charging_state to VehicleSummary (#3471)
brianmay Nov 23, 2023
f199691
doc: Changelog for unreleased version
JakobLichterfeld Nov 25, 2023
814ac6c
Update changelog and version number
JakobLichterfeld Nov 25, 2023
543a924
changelog Fix typo in CI commit message
JakobLichterfeld Nov 25, 2023
efa7527
Release 1.28.0
JakobLichterfeld Nov 25, 2023
61ada64
fix: login to docker hub before build&push action (#3491)
jlestel Nov 26, 2023
e322599
Fix tpms bar sensors name in template for psi (#3490)
virtualm2000 Nov 26, 2023
0596531
Release 1.28.0
JakobLichterfeld Nov 26, 2023
2d51501
Release v1.28.1
JakobLichterfeld Nov 26, 2023
512abe5
grafana: support DATABASE_SSL_MODE (#3498)
simonsmh Nov 26, 2023
6da0cbd
Support server_name_indication for ssl (#3497)
simonsmh Nov 26, 2023
0ab5538
fix bug on load grafana dashboard #3499 (#3501)
oivindoh Nov 26, 2023
f6b93d6
changelog: Add support for DATABASE_SSL_MODE and
JakobLichterfeld Nov 27, 2023
33db90a
Changelog: Add support for GHCR Purge even if package doesn't
JakobLichterfeld Nov 27, 2023
3308e52
Ci: GHCR Purge success even if package doesn't exist (#3504)
JakobLichterfeld Nov 27, 2023
676229c
Release v1.28.2
JakobLichterfeld Nov 27, 2023
153ff58
Use recommended format for Home Assistant MQTT sensor configuration (…
t3hk0d3 Nov 29, 2023
01879c4
Remove probot-no-response and update to stale workflow, closes #3525
JakobLichterfeld Nov 30, 2023
90998e9
Update locations.json
DrMichael Dec 1, 2023
ed37f47
Fix Odometer_mi charger dashboard (#3534)
mechoriet Dec 2, 2023
3e2f663
Update charges.json: reenable cost per kWh (#3544)
DrMichael Dec 5, 2023
4d8b38b
Update projects.md (#3542)
mluggy Dec 5, 2023
5b73cb9
update tesla-youq project (#3547)
brchri Dec 7, 2023
4929042
Fix an issue when car is could enter sleep mode while dog mode is ena…
NirKli Dec 12, 2023
bea5106
Bump chipkent/action-cleanup-package from 1.0.1 to 1.0.3 (#3530)
dependabot[bot] Dec 12, 2023
6121337
Update backup_restore.md referencing matching PSQL versions (#3560)
cwanja Dec 12, 2023
376dabd
Revert "Update backup_restore.md referencing matching PSQL versions (…
JakobLichterfeld Dec 12, 2023
3e6088a
Bump actions/stale from 8 to 9 (#3596)
dependabot[bot] Jan 8, 2024
328d5af
Bump elixir from 1.15 to 1.16 (#3595)
dependabot[bot] Jan 8, 2024
3f9c65b
fix: translation Update default.po (#3600)
ycjcl868 Jan 11, 2024
a6357e7
Node-RED required modules should be saved under /data (#3623)
ToniA Jan 19, 2024
1698886
Improvements for Spanish translations (#3610)
jheredianet Jan 19, 2024
8aed485
doc: Fix TPMS sensor names to match binary_sensor.yaml (#3613)
kenni Jan 19, 2024
3f0e14a
Handle stream getting the message "Vehicle is offline" and change the…
micves Jan 19, 2024
c218be4
Bump semver from 5.7.1 to 5.7.2 in /website (#3602)
dependabot[bot] Jan 19, 2024
639e594
Bump follow-redirects from 1.15.2 to 1.15.4 in /website (#3606)
dependabot[bot] Jan 19, 2024
c1d2aee
Improve Battery health derived efficiency estimations and Fix error d…
jheredianet Jan 19, 2024
a43007d
update docker-compose.yml for Docker Compose version v2.24.1 (#3626)
realJustinLee Jan 21, 2024
846e1c4
Battery Health - Improve performance & adjust queries to handle empty…
jheredianet Jan 22, 2024
d78aae8
charging-stats: map - add charges count and move label (#3625)
fmossott Jan 22, 2024
91cdac4
Support listening on unix domain socket (#3328)
PhracturedBlue Jan 29, 2024
698a8a1
Added expected finish charging localtime to teslamate site (#3646)
NirKli Feb 2, 2024
7c3b616
fix: use product api endpoint to fetch vehicles (#3630)
JakobLichterfeld Feb 2, 2024
8633b62
Bump actions/cache from 3 to 4 (#3645)
dependabot[bot] Feb 2, 2024
8627cb0
style: Add .markdownlint.yaml configuration file
JakobLichterfeld Feb 2, 2024
eca58c9
build: release v1.28.3
JakobLichterfeld Feb 2, 2024
87d232c
ci: prevent workflow runs for certain conditions
JakobLichterfeld Feb 3, 2024
a1804ae
Add details how to configuring the TZ environment variable (#3650)
NirKli Feb 5, 2024
b85975f
Add Thai Translation (#3566)
tomzt Feb 5, 2024
476fff8
doc: add instructions, how to connect to database before editing cars…
JakobLichterfeld Feb 6, 2024
e8d6cb3
feat: Upgrade web development framework to Phoenix 1.7 (#3615)
marvelm Feb 7, 2024
90e0c90
Add navigation active route drive state data (#3657)
longzheng Feb 8, 2024
04ddbf1
Update default.po missing translations (#3662)
pquattro Feb 8, 2024
41f25de
update zh_Hans text (#3664)
mrgaolei Feb 9, 2024
f2772a0
ci: stale after 30 days
JakobLichterfeld Feb 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
216 changes: 216 additions & 0 deletions .credo.exs
Original file line number Diff line number Diff line change
@@ -0,0 +1,216 @@
# This file contains the configuration for Credo and you are probably reading
# this after creating it with `mix credo.gen.config`.
#
# If you find anything wrong or unclear in this file, please report an
# issue on GitHub: https://github.com/rrrene/credo/issues
#
%{
#
# You can have as many configs as you like in the `configs:` field.
configs: [
%{
#
# Run any config using `mix credo -C <name>`. If no config name is given
# "default" is used.
#
name: "default",
#
# These are the files included in the analysis:
files: %{
#
# You can give explicit globs or simply directories.
# In the latter case `**/*.{ex,exs}` will be used.
#
included: [
"lib/",
"src/",
"test/",
"web/",
"apps/*/lib/",
"apps/*/src/",
"apps/*/test/",
"apps/*/web/"
],
excluded: [~r"/_build/", ~r"/deps/", ~r"/node_modules/"]
},
#
# Load and configure plugins here:
#
plugins: [],
#
# If you create your own checks, you must specify the source files for
# them here, so they can be loaded by Credo before running the analysis.
#
requires: [],
#
# If you want to enforce a style guide and need a more traditional linting
# experience, you can change `strict` to `true` below:
#
strict: false,
#
# To modify the timeout for parsing files, change this value:
#
parse_timeout: 5000,
#
# If you want to use uncolored output by default, you can change `color`
# to `false` below:
#
color: true,
#
# You can customize the parameters of any check by adding a second element
# to the tuple.
#
# To disable a check put `false` as second element:
#
# {Credo.Check.Design.DuplicatedCode, false}
#
checks: %{
enabled: [
#
## Consistency Checks
#
{Credo.Check.Consistency.ExceptionNames, []},
{Credo.Check.Consistency.LineEndings, []},
{Credo.Check.Consistency.ParameterPatternMatching, []},
{Credo.Check.Consistency.SpaceAroundOperators, []},
{Credo.Check.Consistency.SpaceInParentheses, []},
{Credo.Check.Consistency.TabsOrSpaces, []},

#
## Design Checks
#
# You can customize the priority of any check
# Priority values are: `low, normal, high, higher`
#
{Credo.Check.Design.AliasUsage,
[priority: :low, if_nested_deeper_than: 2, if_called_more_often_than: 0]},
{Credo.Check.Design.TagFIXME, []},
# You can also customize the exit_status of each check.
# If you don't want TODO comments to cause `mix credo` to fail, just
# set this value to 0 (zero).
#
{Credo.Check.Design.TagTODO, [exit_status: 2]},

#
## Readability Checks
#
{Credo.Check.Readability.AliasOrder, []},
{Credo.Check.Readability.FunctionNames, []},
{Credo.Check.Readability.LargeNumbers, []},
{Credo.Check.Readability.MaxLineLength, [priority: :low, max_length: 120]},
{Credo.Check.Readability.ModuleAttributeNames, []},
{Credo.Check.Readability.ModuleDoc, []},
{Credo.Check.Readability.ModuleNames, []},
{Credo.Check.Readability.ParenthesesInCondition, []},
{Credo.Check.Readability.ParenthesesOnZeroArityDefs, []},
{Credo.Check.Readability.PipeIntoAnonymousFunctions, []},
{Credo.Check.Readability.PredicateFunctionNames, []},
{Credo.Check.Readability.PreferImplicitTry, []},
{Credo.Check.Readability.RedundantBlankLines, []},
{Credo.Check.Readability.Semicolons, []},
{Credo.Check.Readability.SpaceAfterCommas, []},
{Credo.Check.Readability.StringSigils, []},
{Credo.Check.Readability.TrailingBlankLine, []},
{Credo.Check.Readability.TrailingWhiteSpace, []},
{Credo.Check.Readability.UnnecessaryAliasExpansion, []},
{Credo.Check.Readability.VariableNames, []},
{Credo.Check.Readability.WithSingleClause, []},

#
## Refactoring Opportunities
#
{Credo.Check.Refactor.Apply, []},
{Credo.Check.Refactor.CondStatements, []},
{Credo.Check.Refactor.CyclomaticComplexity, []},
{Credo.Check.Refactor.FilterCount, []},
{Credo.Check.Refactor.FilterFilter, []},
{Credo.Check.Refactor.FunctionArity, []},
{Credo.Check.Refactor.LongQuoteBlocks, []},
{Credo.Check.Refactor.MapJoin, []},
{Credo.Check.Refactor.MatchInCondition, []},
{Credo.Check.Refactor.NegatedConditionsInUnless, []},
{Credo.Check.Refactor.NegatedConditionsWithElse, []},
{Credo.Check.Refactor.Nesting, []},
{Credo.Check.Refactor.RedundantWithClauseResult, []},
{Credo.Check.Refactor.RejectReject, []},
{Credo.Check.Refactor.UnlessWithElse, []},
{Credo.Check.Refactor.WithClauses, []},

#
## Warnings
#
{Credo.Check.Warning.ApplicationConfigInModuleAttribute, []},
{Credo.Check.Warning.BoolOperationOnSameValues, []},
{Credo.Check.Warning.Dbg, []},
{Credo.Check.Warning.ExpensiveEmptyEnumCheck, []},
{Credo.Check.Warning.IExPry, []},
{Credo.Check.Warning.IoInspect, []},
{Credo.Check.Warning.MissedMetadataKeyInLoggerConfig, []},
{Credo.Check.Warning.OperationOnSameValues, []},
{Credo.Check.Warning.OperationWithConstantResult, []},
{Credo.Check.Warning.RaiseInsideRescue, []},
{Credo.Check.Warning.SpecWithStruct, []},
{Credo.Check.Warning.UnsafeExec, []},
{Credo.Check.Warning.UnusedEnumOperation, []},
{Credo.Check.Warning.UnusedFileOperation, []},
{Credo.Check.Warning.UnusedKeywordOperation, []},
{Credo.Check.Warning.UnusedListOperation, []},
{Credo.Check.Warning.UnusedPathOperation, []},
{Credo.Check.Warning.UnusedRegexOperation, []},
{Credo.Check.Warning.UnusedStringOperation, []},
{Credo.Check.Warning.UnusedTupleOperation, []},
{Credo.Check.Warning.WrongTestFileExtension, []}
],
disabled: [
#
# Checks scheduled for next check update (opt-in for now, just replace `false` with `[]`)

#
# Controversial and experimental checks (opt-in, just move the check to `:enabled`
# and be sure to use `mix credo --strict` to see low priority checks)
#
{Credo.Check.Consistency.MultiAliasImportRequireUse, []},
{Credo.Check.Consistency.UnusedVariableNames, []},
{Credo.Check.Design.DuplicatedCode, []},
{Credo.Check.Design.SkipTestWithoutComment, []},
{Credo.Check.Readability.AliasAs, []},
{Credo.Check.Readability.BlockPipe, []},
{Credo.Check.Readability.ImplTrue, []},
{Credo.Check.Readability.MultiAlias, []},
{Credo.Check.Readability.NestedFunctionCalls, []},
{Credo.Check.Readability.OneArityFunctionInPipe, []},
{Credo.Check.Readability.OnePipePerLine, []},
{Credo.Check.Readability.SeparateAliasRequire, []},
{Credo.Check.Readability.SingleFunctionToBlockPipe, []},
{Credo.Check.Readability.SinglePipe, []},
{Credo.Check.Readability.Specs, []},
{Credo.Check.Readability.StrictModuleLayout, []},
{Credo.Check.Readability.WithCustomTaggedTuple, []},
{Credo.Check.Refactor.ABCSize, []},
{Credo.Check.Refactor.AppendSingleItem, []},
{Credo.Check.Refactor.DoubleBooleanNegation, []},
{Credo.Check.Refactor.FilterReject, []},
{Credo.Check.Refactor.IoPuts, []},
{Credo.Check.Refactor.MapMap, []},
{Credo.Check.Refactor.ModuleDependencies, []},
{Credo.Check.Refactor.NegatedIsNil, []},
{Credo.Check.Refactor.PassAsyncInTestCases, []},
{Credo.Check.Refactor.PipeChainStart, []},
{Credo.Check.Refactor.RejectFilter, []},
{Credo.Check.Refactor.VariableRebinding, []},
{Credo.Check.Warning.LazyLogging, []},
{Credo.Check.Warning.LeakyEnvironment, []},
{Credo.Check.Warning.MapGetUnsafePass, []},
{Credo.Check.Warning.MixEnv, []},
{Credo.Check.Warning.UnsafeToAtom, []}

# {Credo.Check.Refactor.MapInto, []},

#
# Custom checks can be created using `mix credo.gen.check`.
#
]
}
}
]
}
3 changes: 2 additions & 1 deletion .formatter.exs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[
import_deps: [:ecto, :phoenix, :phoenix_live_view, :tesla],
inputs: ["*.{ex,exs}", "priv/*/seeds.exs", "{config,lib,test}/**/*.{ex,exs}"],
inputs: ["*.{heex,ex,exs}", "priv/*/seeds.exs", "{config,lib,test}/**/*.{heex,ex,exs}"],
plugins: [Phoenix.LiveView.HTMLFormatter],
subdirectories: ["priv/*/migrations"]
]
12 changes: 0 additions & 12 deletions .github/FUNDING.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ body:
description: |
Please search to see if an issue already exists for the bug you encountered:

- [Issues](https://github.com/adriankumpf/teslamate/issues?q=)
- [Discussions](https://github.com/adriankumpf/teslamate/discussions)
- [Issues](https://github.com/teslamate-org/teslamate/issues?q=)
- [Discussions](https://github.com/teslamate-org/teslamate/discussions)

options:
- label: I have searched the existing issues
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Community Support
url: https://github.com/adriankumpf/teslamate/discussions
url: https://github.com/teslamate-org/teslamate/discussions
about: Please ask and answer questions here.
78 changes: 78 additions & 0 deletions .github/actions/build/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
name: "Build"
description: "Build images"
inputs:
is_dockerhub_pushed:
description: "Need docker hub login?"
required: true
default: ''
docker_password:
description: "Docker password"
required: true
repository_owner:
description: "Repository owner"
required: true
default: "teslamate-org"
repository:
description: "Repo owner and name (repo_owner/repo_name)"
required: true
default: "teslamate"
github_token:
description: "GitHub Token"
required: true
labels:
description: "Labels added on metadata"
required: false
default: ""
version:
description: "Branch deployed"
required: false
default: ""
runs:
using: "composite"
steps:
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY_IMAGE }}
labels: |
{{ inputs.labels }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
if: inputs.is_dockerhub_pushed != ''
uses: docker/[email protected]
with:
username: teslamate
password: ${{ inputs.docker_password }}
- name: Login to GitHub Container Registry
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ inputs.repository_owner }}
password: ${{ inputs.github_token }}
- name: Build and push by digest
id: build
uses: docker/[email protected]
with:
context: .
platforms: ${{ matrix.platform }}
labels: ${{ steps.meta.outputs.labels }}
tags: ${{ steps.docker_meta.outputs.tags }}
cache-from: type=registry,ref=ghcr.io/${{ inputs.repository }}:buildcache-${{ matrix.cache_id }}-${{ inputs.version }}
cache-to: type=registry,ref=ghcr.io/${{ inputs.repository }}:buildcache-${{ matrix.cache_id }}-${{ inputs.version }},mode=max
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true
- name: Export digest
shell: bash
run: |
mkdir -p /tmp/digests
digest="${{ steps.build.outputs.digest }}"
touch "/tmp/digests/${digest#sha256:}"
ls -l /tmp/digests/
- name: Upload digest
uses: actions/upload-artifact@v3
with:
name: digests
path: /tmp/digests/*
if-no-files-found: error
retention-days: 1
37 changes: 37 additions & 0 deletions .github/actions/grafana/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: "Grafana"
description: "Grafana images"
inputs:
tags:
description: "Tags"
required: false
default: ""
labels:
description: "Labels"
required: true
image:
description: "Image target"
required: true
default: "teslamate/grafana"
runs:
using: "composite"
steps:
- name: Docker meta
id: docker_meta
uses: docker/metadata-action@v5
with:
images: ${{ inputs.image }}
tags: ${{ inputs.tags }}
labels: ${{ inputs.labels }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/[email protected]
with:
context: grafana
push: true
platforms: linux/amd64,linux/arm/v7,linux/arm64
tags: ${{ steps.docker_meta.outputs.tags }}
cache-from: type=gha
cache-to: type=gha,mode=max
Loading
Loading