mirror of
https://gitee.com/sjqzhang/go-fastdfs.git
synced 2024-12-01 18:57:58 +08:00
Create docker-image.yml
docker-image.yml
This commit is contained in:
parent
7f2498cc65
commit
66d05a3fc2
23
.github/workflows/docker-image.yml
vendored
Normal file
23
.github/workflows/docker-image.yml
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
name: Docker Image CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "master" ]
|
||||
pull_request:
|
||||
branches: [ "master" ]
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
tags: ghcr.io/${{ github.repository_owner }}/${{ github.repository }}:latest
|
||||
push: true
|
Loading…
Reference in New Issue
Block a user