Skip to content

bug fix issue 209 default Alpine version 3.13->3.16 (#210) #195

bug fix issue 209 default Alpine version 3.13->3.16 (#210)

bug fix issue 209 default Alpine version 3.13->3.16 (#210) #195

Workflow file for this run

name: "Publish"
on:
release:
types: [published]
push:
branches:
- master
env:
GIT_TAG_NAME: dev
jobs:
init:
name: Initialize build
runs-on: ubuntu-latest
outputs:
architectures: ${{ steps.info.outputs.architectures }}
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Get information
id: info
uses: home-assistant/actions/helpers/info@master
publish:
name: Publish builder
needs: init
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
packages: write
strategy:
fail-fast: False
matrix:
architecture: ${{ fromJson(needs.init.outputs.architectures) }}
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- uses: olegtarasov/get-tag@v2.1.3
if: github.event_name == 'release'
name: Set tag envronment variable
- name: Login to GitHub Container Registry
uses: docker/login-action@v3.3.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Publish ${{ matrix.architecture }} builder
uses: home-assistant/builder@2024.08.1
with:
args: |
--${{ matrix.architecture }} \
--target /data \
--cosign \
--generic $GIT_TAG_NAME