Skip to content

feat: remove udev dependency #41

feat: remove udev dependency

feat: remove udev dependency #41

Workflow file for this run

name: Build edge
on:
push:
branches:
- main
paths:
- 'go.mod'
- 'go.sum'
- 'cmd/**'
- 'pkg/**'
- 'Dockerfile'
jobs:
build-publish:
name: "Build image and publish"
timeout-minutes: 15
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Unshallow
run: git fetch --prune --unshallow
- name: Install Cosign
uses: sigstore/[email protected]
- name: Set up docker buildx
run: make docker-init
- name: Github registry login
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
timeout-minutes: 10
run: make images
env:
USERNAME: ${{ github.repository_owner }}
PUSH: "true"
TAG: "edge"
- name: Sign images
timeout-minutes: 4
run: make images-cosign
env:
USERNAME: ${{ github.repository_owner }}
TAG: "edge"