Add .gitea/workflows/docker-build.yml
All checks were successful
Build Docker Image / build (push) Successful in 7m41s
All checks were successful
Build Docker Image / build (push) Successful in 7m41s
This commit is contained in:
21
.gitea/workflows/docker-build.yml
Normal file
21
.gitea/workflows/docker-build.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
name: Build Docker Image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build Docker image
|
||||
run: |
|
||||
docker build \
|
||||
-t webclip:latest \
|
||||
-t webclip:${{ gitea.sha }} \
|
||||
.
|
||||
Reference in New Issue
Block a user