Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Add fake systemd resolv #44

Add fake systemd resolv

Add fake systemd resolv #44

Workflow file for this run

name: Build
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
name: Build image
steps:
- name: Login to GitHub Container Registry
uses: docker/login-action@v3.0.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout repository
uses: actions/checkout@v4.1.0
- name: Get branch name
shell: bash
run: |
[[ "${GITHUB_REF##*/}" =~ "dev" ]] && echo "VERSION_OVERRIDE=--version dev" >> $GITHUB_ENV || echo "VERSION_OVERRIDE=" >> $GITHUB_ENV
- name: Build image
uses: home-assistant/builder@2023.09.0
with:
args: |
--all \
--target netbird-client \
--docker-hub "ghcr.io/${{ github.repository_owner }}" \
--addon \
--no-latest ${VERSION_OVERRIDE}