updated pipelines
All checks were successful
Go Tests / go-tests (push) Successful in 1m24s
ci / goreleaser (push) Successful in 2m47s

This commit is contained in:
Manuel Ganter 2025-11-10 16:51:27 +01:00
parent dc1fea7ae2
commit 793c0b1913
No known key found for this signature in database
3 changed files with 6 additions and 54 deletions

View file

@ -1,52 +0,0 @@
name: build
on:
push:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
steps:
-
name: Repository meta
id: repository
run: |
registry=${{ github.server_url }}
registry=${registry##http*://}
echo "registry=${registry}" >> "$GITHUB_OUTPUT"
echo "registry=${registry}"
repository="$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')"
echo "repository=${repository}" >> "$GITHUB_OUTPUT"
echo "repository=${repository}"
-
name: Docker meta
uses: docker/metadata-action@v5
id: docker
with:
images: ${{ steps.repository.outputs.registry }}/${{ steps.repository.outputs.repository }}
tags: |
type=sha,prefix=
type=ref,event=tag
-
name: Login to registry
uses: docker/login-action@v3
with:
registry: ${{ steps.repository.outputs.registry }}
username: "${{ secrets.PACKAGES_USER }}"
password: "${{ secrets.PACKAGES_TOKEN }}"
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: '--allow-insecure-entitlement network.host'
driver-opts: network=host
-
name: Build and push
uses: docker/build-push-action@v6
with:
push: true
allow: network.host
network: host
tags: ${{ steps.docker.outputs.tags }}

View file

@ -23,5 +23,8 @@ jobs:
- run: go version - run: go version
- name: Run GARM Go Tests - name: run test
run: make test run: make test
- name: run build
run: make build

1
.gitignore vendored
View file

@ -10,3 +10,4 @@ devbox.json
devbox.lock devbox.lock
kubeconfig.yaml kubeconfig.yaml
main