Skip to content

Commit

Permalink
feat: Add docker build (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
kkrypt0nn authored Nov 9, 2024
1 parent 1b4abd7 commit 5b52f99
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Publish Docker Image

on:
release:
types: [published]

jobs:
build-and-push:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: kkrypt0nn/wordlists:latest
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM alpine:latest

COPY wordlists /wordlists

WORKDIR /wordlists

0 comments on commit 5b52f99

Please sign in to comment.