添加 .gitea/workflows/nginx.yml
All checks were successful
Nginx / build-docker (push) Successful in 25s
All checks were successful
Nginx / build-docker (push) Successful in 25s
This commit is contained in:
commit
9c459255b6
20
.gitea/workflows/nginx.yml
Normal file
20
.gitea/workflows/nginx.yml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
|
||||||
|
name: Nginx
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
build-docker:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: echo "FROM nginx:1.25-alpine-slim" > Dockerfile
|
||||||
|
|
||||||
|
- name: Docker build push
|
||||||
|
uses: seepine/action-docker-build-push@v1
|
||||||
|
with:
|
||||||
|
file: ./Dockerfile
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
|
registry: git.zgfxrc.cn
|
||||||
|
username: registry
|
||||||
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
tags: git.zgfxrc.cn/registry/nginx:1.25-alpine-slim
|
||||||
|
|
||||||
|
- run: echo Success.
|
Loading…
x
Reference in New Issue
Block a user