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-*
# doesn't have to be installed
container: esphome/esphome-lint:1.1
container: ghcr.io/esphome/esphome-lint:1.1
steps:
- uses: actions/checkout@v2
# 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)
# 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:
channel = CHANNEL_DEV
elif match.group(1) is None: