mirror of
https://github.com/searxng/searxng.git
synced 2026-09-14 10:16:03 +00:00
Compare commits
4 Commits
b42f812c57
...
cd64fb966e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cd64fb966e | ||
|
|
743f24d8c6 | ||
|
|
bec76bc2e3 | ||
|
|
d0b7f26f4b |
2
.github/workflows/checker.yml
vendored
2
.github/workflows/checker.yml
vendored
@@ -8,7 +8,7 @@ on:
|
|||||||
- cron: "0 4 * * 5"
|
- cron: "0 4 * * 5"
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref_name }}
|
group: ${{ github.workflow }}
|
||||||
cancel-in-progress: false
|
cancel-in-progress: false
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
|
|||||||
12
.github/workflows/container.yml
vendored
12
.github/workflows/container.yml
vendored
@@ -13,7 +13,7 @@ on:
|
|||||||
- master
|
- master
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref_name }}
|
group: ${{ github.workflow }}
|
||||||
cancel-in-progress: false
|
cancel-in-progress: false
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
@@ -76,7 +76,7 @@ jobs:
|
|||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
# yamllint disable-line rule:line-length
|
# yamllint disable-line rule:line-length
|
||||||
key: "container-mounts-${{ matrix.arch }}-${{ hashFiles('./container/Dockerfile ./container/legacy/Dockerfile') }}"
|
key: "container-mounts-${{ matrix.arch }}-${{ hashFiles('./container/Dockerfile', './container/legacy/Dockerfile') }}"
|
||||||
restore-keys: "container-mounts-${{ matrix.arch }}-"
|
restore-keys: "container-mounts-${{ matrix.arch }}-"
|
||||||
path: |
|
path: |
|
||||||
/var/tmp/buildah-cache/
|
/var/tmp/buildah-cache/
|
||||||
@@ -117,10 +117,6 @@ jobs:
|
|||||||
os: ubuntu-24.04-arm
|
os: ubuntu-24.04-arm
|
||||||
emulation: true
|
emulation: true
|
||||||
|
|
||||||
permissions:
|
|
||||||
# Organization GHCR
|
|
||||||
packages: write
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@@ -152,6 +148,10 @@ jobs:
|
|||||||
- build
|
- build
|
||||||
- test
|
- test
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
# Organization GHCR
|
||||||
|
packages: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
6
.github/workflows/data-update.yml
vendored
6
.github/workflows/data-update.yml
vendored
@@ -8,7 +8,7 @@ on:
|
|||||||
- cron: "59 23 28 * *"
|
- cron: "59 23 28 * *"
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref_name }}
|
group: ${{ github.workflow }}
|
||||||
cancel-in-progress: false
|
cancel-in-progress: false
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
@@ -66,7 +66,7 @@ jobs:
|
|||||||
id: cpr
|
id: cpr
|
||||||
uses: peter-evans/create-pull-request@v7
|
uses: peter-evans/create-pull-request@v7
|
||||||
with:
|
with:
|
||||||
author: "${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>"
|
author: "searxng-bot <searxng-bot@users.noreply.github.com>"
|
||||||
committer: "searxng-bot <searxng-bot@users.noreply.github.com>"
|
committer: "searxng-bot <searxng-bot@users.noreply.github.com>"
|
||||||
title: "[data] update searx.data - ${{ matrix.fetch }}"
|
title: "[data] update searx.data - ${{ matrix.fetch }}"
|
||||||
commit-message: "[data] update searx.data - ${{ matrix.fetch }}"
|
commit-message: "[data] update searx.data - ${{ matrix.fetch }}"
|
||||||
@@ -74,6 +74,8 @@ jobs:
|
|||||||
delete-branch: "true"
|
delete-branch: "true"
|
||||||
draft: "false"
|
draft: "false"
|
||||||
signoff: "false"
|
signoff: "false"
|
||||||
|
body: |
|
||||||
|
[data] update searx.data - ${{ matrix.fetch }}
|
||||||
labels: |
|
labels: |
|
||||||
data
|
data
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/documentation.yml
vendored
2
.github/workflows/documentation.yml
vendored
@@ -12,7 +12,7 @@ on:
|
|||||||
- master
|
- master
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref_name }}
|
group: ${{ github.workflow }}
|
||||||
cancel-in-progress: false
|
cancel-in-progress: false
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
|
|||||||
6
.github/workflows/l10n.yml
vendored
6
.github/workflows/l10n.yml
vendored
@@ -15,7 +15,7 @@ on:
|
|||||||
- cron: "05 07 * * 5"
|
- cron: "05 07 * * 5"
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref_name }}
|
group: ${{ github.workflow }}
|
||||||
cancel-in-progress: false
|
cancel-in-progress: false
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
@@ -119,7 +119,7 @@ jobs:
|
|||||||
id: cpr
|
id: cpr
|
||||||
uses: peter-evans/create-pull-request@v7
|
uses: peter-evans/create-pull-request@v7
|
||||||
with:
|
with:
|
||||||
author: "${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>"
|
author: "searxng-bot <searxng-bot@users.noreply.github.com>"
|
||||||
committer: "searxng-bot <searxng-bot@users.noreply.github.com>"
|
committer: "searxng-bot <searxng-bot@users.noreply.github.com>"
|
||||||
title: "[l10n] update translations from Weblate"
|
title: "[l10n] update translations from Weblate"
|
||||||
commit-message: "[l10n] update translations from Weblate"
|
commit-message: "[l10n] update translations from Weblate"
|
||||||
@@ -127,6 +127,8 @@ jobs:
|
|||||||
delete-branch: "true"
|
delete-branch: "true"
|
||||||
draft: "false"
|
draft: "false"
|
||||||
signoff: "false"
|
signoff: "false"
|
||||||
|
body: |
|
||||||
|
[l10n] update translations from Weblate
|
||||||
labels: |
|
labels: |
|
||||||
translation
|
translation
|
||||||
|
|
||||||
|
|||||||
2
.github/workflows/security.yml
vendored
2
.github/workflows/security.yml
vendored
@@ -8,7 +8,7 @@ on:
|
|||||||
- cron: "42 05 * * *"
|
- cron: "42 05 * * *"
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref_name }}
|
group: ${{ github.workflow }}
|
||||||
cancel-in-progress: false
|
cancel-in-progress: false
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
|
|||||||
@@ -255,8 +255,7 @@ container.push() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Manifest tags
|
# Manifest tags
|
||||||
release_tags=("latest")
|
release_tags=("latest" "$DOCKER_TAG")
|
||||||
release_tags+=("$DOCKER_TAG")
|
|
||||||
|
|
||||||
# Create manifests
|
# Create manifests
|
||||||
for tag in "${release_tags[@]}"; do
|
for tag in "${release_tags[@]}"; do
|
||||||
@@ -274,13 +273,18 @@ container.push() {
|
|||||||
|
|
||||||
podman image list
|
podman image list
|
||||||
|
|
||||||
# Push manifests
|
# Remote registries
|
||||||
for tag in "${release_tags[@]}"; do
|
release_registries=("ghcr.io" "docker.io")
|
||||||
build_msg CONTAINER "Pushing manifest with tag: $tag"
|
|
||||||
|
|
||||||
podman manifest push \
|
# Push manifests
|
||||||
"localhost/$CONTAINER_IMAGE_ORGANIZATION/$CONTAINER_IMAGE_NAME:$tag" \
|
for registry in "${release_registries[@]}"; do
|
||||||
"docker://docker.io/$CONTAINER_IMAGE_ORGANIZATION/$CONTAINER_IMAGE_NAME:$tag"
|
for tag in "${release_tags[@]}"; do
|
||||||
|
build_msg CONTAINER "Pushing manifest $tag to $registry"
|
||||||
|
|
||||||
|
podman manifest push \
|
||||||
|
"localhost/$CONTAINER_IMAGE_ORGANIZATION/$CONTAINER_IMAGE_NAME:$tag" \
|
||||||
|
"docker://$registry/$CONTAINER_IMAGE_ORGANIZATION/$CONTAINER_IMAGE_NAME:$tag"
|
||||||
|
done
|
||||||
done
|
done
|
||||||
)
|
)
|
||||||
dump_return $?
|
dump_return $?
|
||||||
|
|||||||
Reference in New Issue
Block a user