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

try to run on debian which is what the raspi image is based on #823

try to run on debian which is what the raspi image is based on

try to run on debian which is what the raspi image is based on #823

Workflow file for this run

name: Linux-amd64 Docker build & push
on:
push:
release:
types: [published]
jobs:
build:
env:
REGISTRY: ghcr.io
IMAGENAME: ${{ github.event.repository.name }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
name: Check out code
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: 1.21.x
- name: Checkout code
uses: actions/checkout@v2
- name: Run tests
run: mkdir frontend/dist && touch frontend/dist/tmp && go test
- name: Docker build
uses: mr-smithers-excellent/docker-build-push@v6
id: build
with:
image: ${{ env.IMAGENAME }}
registry: ${{ env.REGISTRY }}
platform: linux/amd64
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
addLatest: ${{ github.ref == 'refs/heads/master' }}