mirror of
https://github.com/diced/zipline.git
synced 2025-12-22 23:26:36 -08:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d3676c2662 | ||
|
|
cb93df347c | ||
|
|
c31a2172eb | ||
|
|
e3d0f5e47d | ||
|
|
975fc00fad | ||
|
|
03475bd7d7 | ||
|
|
59ce5e5cce |
22
.github/workflows/docker.yml
vendored
Normal file
22
.github/workflows/docker.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
name: Publish Zipline Docker Image
|
||||
on:
|
||||
push:
|
||||
branches: [next]
|
||||
pull_request:
|
||||
branches: [next]
|
||||
jobs:
|
||||
push_to_registry:
|
||||
name: Push Docker Image to Github Packages
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out the repo
|
||||
uses: actions/checkout@v2
|
||||
- name: Push to GitHub Packages
|
||||
uses: docker/build-push-action@v1
|
||||
with:
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
registry: docker.pkg.github.com
|
||||
repository: diced/zipline/zipline
|
||||
dockerfile: Dockerfile
|
||||
tag_with_ref: true
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "zipline-next",
|
||||
"version": "2.6.1",
|
||||
"version": "2.7.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@dicedtomato/colors": "^1.0.3",
|
||||
|
||||
@@ -59,7 +59,7 @@ export class Webhooks {
|
||||
public static parseContent(content: string, data: WebhookData) {
|
||||
return content
|
||||
.replace(WebhookParseTokens.IMAGE_ID, data.image?.id)
|
||||
.replace(WebhookParseTokens.IMAGE_URL, `${data.host}${data.image?.file}`)
|
||||
.replace(WebhookParseTokens.IMAGE_URL, data.host)
|
||||
.replace(WebhookParseTokens.URL_ID, data.url?.id)
|
||||
.replace(WebhookParseTokens.URL_URL, data.host + data.url?.id)
|
||||
.replace(WebhookParseTokens.URL_VANITY, data.url?.vanity)
|
||||
|
||||
@@ -152,6 +152,7 @@ export class RootController {
|
||||
|
||||
if (this.webhooks.events.includes(WebhookType.UPLOAD)) Webhooks.sendWebhook(this.webhooks.upload.content, {
|
||||
image,
|
||||
user,
|
||||
host
|
||||
});
|
||||
|
||||
|
||||
@@ -4562,9 +4562,9 @@ inherits@2.0.3:
|
||||
integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=
|
||||
|
||||
ini@^1.3.4, ini@~1.3.0:
|
||||
version "1.3.5"
|
||||
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927"
|
||||
integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==
|
||||
version "1.3.8"
|
||||
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c"
|
||||
integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==
|
||||
|
||||
inquirer@5.2.0:
|
||||
version "5.2.0"
|
||||
|
||||
Reference in New Issue
Block a user