Skip to content

fix layer2 reconcile error #107

fix layer2 reconcile error

fix layer2 reconcile error #107

Workflow file for this run

name: Create Draft Release
on:
push:
tags:
- "v*"
jobs:
draft_release:
name: Create Draft Release
runs-on: ubuntu-latest
steps:
- name: Checkout the Repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: "^1.22"
- name: Install packages
run: sudo apt-get update && sudo apt-get install -y llvm clang libbpf-dev gcc-multilib linux-headers-$(uname -r)
- name: Build
run: |
make build
- name: Create Licenses Report
run: |
make licenses-report
- name: Create Release
uses: softprops/action-gh-release@v2
with:
draft: true
files: out/*.*
# body_path: _releasenotes/${{ env.RELEASE_TAG }}.md
release_image:
name: Build and Push Release Image
runs-on: ubuntu-latest
strategy:
matrix:
image: ["das-schiff-network-operator", "das-schiff-cra-frr", "das-schiff-nwop-agent-cra-frr", "das-schiff-nwop-agent-netplan"]
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: "^1.22"
- name: Create Licenses Report
run: |
make licenses-report
- name: Login to GitHub Container Registry
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract Metadata (tags, labels) for Docker
id: meta
uses: docker/[email protected]
with:
images: ghcr.io/telekom/${{ matrix.image }}
- name: Build and Push Docker Image
uses: docker/[email protected]
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
file: ${{ matrix.image }}.Dockerfile