Files
wordlists/.github/workflows/docker-publish.yml
renovate[bot] bd1a892d63 chore(deps): update actions/checkout action to v6 (#89)
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-21 08:00:34 +01:00

36 lines
1.1 KiB
YAML
Vendored

name: Publish Docker Images
on:
push:
branches:
- main
paths:
- "wordlists/**"
workflow_dispatch:
jobs:
build-and-push:
name: Build and push Docker images
runs-on: ubuntu-latest
strategy:
matrix:
image: [alpine, debian, ubuntu]
steps:
- name: Checkout code
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
- name: Log in to Docker Hub
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3
- name: Build and push Docker image
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
with:
context: .
file: ./Dockerfile.${{ matrix.image }}
platforms: linux/amd64,linux/arm64
push: true
tags: kkrypt0nn/wordlists:${{ matrix.image }}-latest