move to codeberg (#8)

This commit is contained in:
T. von Dein
2025-12-02 21:43:56 +01:00
parent a1b3fe6f25
commit 193b236b2c
39 changed files with 423 additions and 300 deletions

View File

@@ -1,41 +0,0 @@
name: build-and-test-ephemerup
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
version: [1.18]
#os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest]
name: Build
runs-on: ${{ matrix.os }}
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.version }}
id: go
- name: checkout
uses: actions/checkout@v3
- name: build
run: make
- name: test ephemerup
run: make test
- name: test upctl
run: make -C upctl test
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.version }}
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3

View File

@@ -1,28 +0,0 @@
name: build-push-image
on:
push:
tags:
- 'v*'
jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
registry: https://ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
push: true
tags: ghcr.io/tlinden/ephemerup:${{ github.ref_name}}