GH Actions CI use GHCR (#2027)

This commit is contained in:
Otto Winter 2021-07-15 21:51:52 +02:00 committed by Jesse Hills
parent 4f9a56c884
commit 70902029f8
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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: