Browse Source

GH Actions CI use GHCR (#2027)

pull/2028/head
Otto Winter 2 months ago
committed by GitHub
parent
commit
799f04efc0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/ci.yml
  2. 2
      docker/build.py

2
.github/workflows/ci.yml

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

2
docker/build.py

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

Loading…
Cancel
Save