ci: first try to push something

This commit is contained in:
Marvin Preuss 2024-09-19 15:11:00 +02:00
parent 972b8426ec
commit 4ed5be6171
2 changed files with 17 additions and 1 deletions

14
.github/workflows/release.yml vendored Normal file
View File

@ -0,0 +1,14 @@
name: "test"
on:
push:
tags:
- '**'
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v27
- run: nix develop . -c golangci-lint run --enable-all
- run: nix develop . -c go test -v -race ./...
- run: nix develop . -c skopeo --insecure-policy copy --dest-username ${{ github.actor }} --dest-password ${{ secrets.GITHUB_TOKEN }} docker-archive://$(nix build .#docker --print-out-paths) docker://ghrc.io/xsteadfastx/caddy-log-exporter:${{ github.ref_name }}

View File

@ -1,7 +1,9 @@
name: "ci" name: "test"
on: on:
pull_request: pull_request:
push: push:
tags-ignore:
- '**'
jobs: jobs:
ci: ci:
runs-on: ubuntu-latest runs-on: ubuntu-latest