Merge branch 'main' of github.com:egguy/grott-home-assistant-add-on into main
This commit is contained in:
@@ -26,9 +26,9 @@ jobs:
|
||||
echo "ADDON_LIST=['grott', 'grott-current']" >> $GITHUB_ENV
|
||||
echo "DOCKER_ARGS=--no-latest --test" >> $GITHUB_ENV
|
||||
- name: "ARGS: grott-edge" # Build of addon edge version
|
||||
if: github.ref == 'refs/heads/master' && (github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && github.event.inputs.type == 'edge'))
|
||||
if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && github.event.inputs.type == 'edge'))
|
||||
run: |
|
||||
echo "ADDON_LIST=['grott-edge']" >> $GITHUB_ENV
|
||||
echo "ADDON_LIST=['grott-current']" >> $GITHUB_ENV
|
||||
echo "DOCKER_ARGS=--no-cache" >> $GITHUB_ENV
|
||||
- name: "ARGS: grott" # Build of addon release version
|
||||
if: startsWith(github.ref, 'refs/tags/') && github.event_name == 'push'
|
||||
@@ -54,7 +54,7 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Login to docker
|
||||
uses: docker/login-action@v2
|
||||
if: (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')) && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
|
||||
if: (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')) && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user