添加 .gitea/workflows/redis.yml
All checks were successful
Redis / build-docker (push) Successful in 1m37s
Nginx / build-docker (push) Successful in 1m47s

This commit is contained in:
huanghs 2024-11-09 09:30:15 +08:00
parent d657b1172a
commit bfbd82685b

View File

@ -0,0 +1,19 @@
name: Redis
on: [push]
jobs:
build-docker:
runs-on: ubuntu-latest
steps:
- run: echo "FROM redis:7.2" > 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/redis:7.2,git.zgfxrc.cn/registry/redis:latest
- run: echo Success.