Only AARCH64 #21
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Image CI - Build Pre-Release. | |
on: | |
push: | |
branches: | |
- prerelease/* | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Login to DockerHub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: Publish SambaNAS Addon | |
uses: home-assistant/builder@master | |
env: | |
CAS_API_KEY: ${{ secrets.CAS_API_KEY }} | |
with: | |
args: | | |
--aarch64 \ | |
--target sambanas \ | |
--docker-hub dianlight | |
- name: Extract branch name | |
shell: bash | |
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/})" | |
id: extract_branch | |
- name: pull-request | |
uses: repo-sync/pull-request@v2 | |
continue-on-error: true | |
with: | |
destination_branch: "release/${{ steps.extract_branch.outputs.branch }}" | |
pr_title: "Releasing ${{ github.ref }} into master" | |
pr_body: ":crown: *An automated PR*" | |
github_token: ${{ secrets.GITHUB_TOKEN }} |