mirror of
https://github.com/appleboy/drone-discord.git
synced 2026-06-04 18:33:47 +08:00
chore(CI): bump version
Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
@@ -19,7 +19,7 @@ jobs:
|
||||
with:
|
||||
go-version: "^1"
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
@@ -29,10 +29,10 @@ jobs:
|
||||
make build_linux_arm
|
||||
make build_linux_arm64
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
uses: docker/setup-qemu-action@v3
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v2
|
||||
@@ -49,7 +49,7 @@ jobs:
|
||||
|
||||
- name: Docker meta
|
||||
id: docker-meta
|
||||
uses: docker/metadata-action@v4
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
images: |
|
||||
${{ github.repository }}
|
||||
@@ -61,7 +61,7 @@ jobs:
|
||||
type=semver,pattern={{major}}
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v4
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm,linux/arm64
|
||||
|
||||
@@ -22,7 +22,7 @@ jobs:
|
||||
go-version: "^1"
|
||||
|
||||
- name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@v4
|
||||
uses: goreleaser/goreleaser-action@v5
|
||||
with:
|
||||
# either 'goreleaser' (default) or 'goreleaser-pro'
|
||||
distribution: goreleaser
|
||||
|
||||
@@ -32,11 +32,6 @@ jobs:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: setup sshd server
|
||||
run: |
|
||||
apk add git make curl perl bash build-base zlib-dev ucl-dev
|
||||
make ssh-server
|
||||
|
||||
- name: testing
|
||||
run: |
|
||||
make test
|
||||
|
||||
@@ -11,7 +11,7 @@ image: appleboy/drone-discord
|
||||
|
||||
Webhooks are a low-effort way to post messages to channels in Discord. They do not require a bot user or authentication to use.
|
||||
|
||||
The webhook provided by discord is a single URL which contains the webhook_id and the webhook_token. The URL follows the following pattern:
|
||||
The webhook provided by discord is a single URL which contains the webhook_id and the webhook_token. The URL follows the following pattern.
|
||||
|
||||
```sh
|
||||
https://discord.com/api/webhooks/<webhook_id>/<webhook_token>
|
||||
|
||||
Reference in New Issue
Block a user