mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 05:24:53 +01:00
GH Actions CI use GHCR (#2027)
This commit is contained in:
parent
cc7dbeada6
commit
799f04efc0
2 changed files with 2 additions and 2 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -33,7 +33,7 @@ jobs:
|
||||||
|
|
||||||
# cpp lint job runs with esphome-lint docker image so that clang-format-*
|
# cpp lint job runs with esphome-lint docker image so that clang-format-*
|
||||||
# doesn't have to be installed
|
# doesn't have to be installed
|
||||||
container: esphome/esphome-lint:1.1
|
container: ghcr.io/esphome/esphome-lint:1.1
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
# Set up the pio project so that the cpp checks know how files are compiled
|
# Set up the pio project so that the cpp checks know how files are compiled
|
||||||
|
|
|
@ -90,7 +90,7 @@ def main():
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
# detect channel from tag
|
# detect channel from tag
|
||||||
match = re.match(r'\d+\.\d+(?:\.\d+)?(b\d+)?', args.tag)
|
match = re.match(r'^\d+\.\d+(?:\.\d+)?(b\d+)?$', args.tag)
|
||||||
if match is None:
|
if match is None:
|
||||||
channel = CHANNEL_DEV
|
channel = CHANNEL_DEV
|
||||||
elif match.group(1) is None:
|
elif match.group(1) is None:
|
||||||
|
|
Loading…
Reference in a new issue