Create portainer-docker-image.yml

pull/12455/head
feric1984 2024-12-29 17:15:52 +08:00 committed by GitHub
parent dfaefc3abb
commit 57ca8c60e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
name: Docker Image CI
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
jobs:
build:
runs-on: centos-latest
steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)