ci: first try to push something
This commit is contained in:
parent
972b8426ec
commit
4ed5be6171
14
.github/workflows/release.yml
vendored
Normal file
14
.github/workflows/release.yml
vendored
Normal 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 }}
|
@ -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
|
Loading…
Reference in New Issue
Block a user