ha: log in to dockerhub and ghcr

This commit is contained in:
Koushik Dutta
2023-05-08 14:11:28 -07:00
committed by GitHub
parent df3c751f2d
commit 379dabc182

View File

@@ -104,6 +104,19 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Login to Github Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Home Assistant image
uses: docker/build-push-action@v3
with: