mirror of
https://github.com/projectdiscovery/nuclei
synced 2026-06-08 16:50:47 +00:00
6b4a9c4b06
Bumps the workflows group with 1 update: [docker/login-action](https://github.com/docker/login-action). Updates `docker/login-action` from 3 to 4 - [Release notes](https://github.com/docker/login-action/releases) - [Commits](https://github.com/docker/login-action/compare/v3...v4) --- updated-dependencies: - dependency-name: docker/login-action dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major dependency-group: workflows ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
name: 🎉 Release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
workflow_dispatch: {}
|
|
|
|
jobs:
|
|
pgo:
|
|
name: "Generate PGO"
|
|
uses: ./.github/workflows/generate-pgo.yaml
|
|
|
|
release:
|
|
name: "Release"
|
|
needs: ["pgo"]
|
|
runs-on: ubuntu-latest-16-cores
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: actions/download-artifact@v8
|
|
with:
|
|
name: "pgo"
|
|
path: "cmd/nuclei/"
|
|
- uses: projectdiscovery/actions/setup/go@v1
|
|
with:
|
|
go-version: "stable"
|
|
- uses: docker/login-action@v4
|
|
with:
|
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
password: ${{ secrets.DOCKER_TOKEN }}
|
|
- uses: projectdiscovery/actions/goreleaser@v1
|
|
with:
|
|
release: true
|
|
env:
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
|
SLACK_WEBHOOK: "${{ secrets.RELEASE_SLACK_WEBHOOK }}"
|
|
DISCORD_WEBHOOK_ID: "${{ secrets.DISCORD_WEBHOOK_ID }}"
|
|
DISCORD_WEBHOOK_TOKEN: "${{ secrets.DISCORD_WEBHOOK_TOKEN }}"
|