Skip to content

chore(deps): update searxng/searxng docker tag to v2024.12.25-73e395c8c #55

chore(deps): update searxng/searxng docker tag to v2024.12.25-73e395c8c

chore(deps): update searxng/searxng docker tag to v2024.12.25-73e395c8c #55

Workflow file for this run

name: Create and publish a Docker image
on:
workflow_dispatch:
push:
branches: [main]
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
attestations: write
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: auto minify the files
uses: nizarmah/auto-minify@v3
with:
directory: src
- name: auto commit the minified files
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "bot: Add auto minified files"
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: .
push: true
platforms: linux/amd64
tags: "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}"
provenance: false
- name: ghcr.io cleanup action
uses: dataaxiom/ghcr-cleanup-action@v1
with:
keep-n-tagged: 3
delete-untagged: true
delete-partial-images: true
token: ${{ secrets.GITHUB_TOKEN }}