mirror of
https://github.com/Duke-Syndicate/duke-bot.git
synced 2025-09-10 04:38:13 +00:00
Add docker workflow
This commit is contained in:
parent
15dd1feab3
commit
f5093314a1
17
.github/workflows/docker-image.yml
vendored
Normal file
17
.github/workflows/docker-image.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
name: Docker Image CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build the Docker image
|
||||
run: docker build . --file Dockerfile --tag duke-bot:$(date +%s)
|
Loading…
x
Reference in New Issue
Block a user