Skip to content

Bump docker/login-action from 3.2.0 to 3.3.0 (#130) #51

Bump docker/login-action from 3.2.0 to 3.3.0 (#130)

Bump docker/login-action from 3.2.0 to 3.3.0 (#130) #51

Workflow file for this run

name: Build and Publish Add-on
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
addon: ["ebusd"]
arch: ["aarch64", "amd64", "armhf", "armv7", "i386"]
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/[email protected]
- name: Get information
id: info
uses: home-assistant/actions/helpers/info@master
with:
path: ./${{ matrix.addon }}
- name: Login to GitHub Container Registry
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build ${{ matrix.arch }} add-on
if: contains(steps.info.outputs.architectures, matrix.arch)
uses: home-assistant/[email protected]
with:
args: |
--${{ matrix.arch }} \
--target ${{matrix.addon}} \
--image "ha-addon-ebusd-${{ matrix.arch }}" \
--docker-hub "ghcr.io/${{ github.repository_owner }}"