Create docker-image.yml

This commit is contained in:
SmileRex
2025-01-24 16:08:24 +03:00
committed by GitHub
parent 4cb555fd05
commit 04c8fc3a36

21
.github/workflows/docker-image.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: Docker Image CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build -t smilerex/dickbot:latest
deploy:
- uses: actions/checkout@v4
- name: Deploy image to docker hub
- run: docker push smilerex/dickbot:latest