mirror/.gitea/workflows/redis.yml
huanghs bfbd82685b
All checks were successful
Redis / build-docker (push) Successful in 1m37s
Nginx / build-docker (push) Successful in 1m47s
添加 .gitea/workflows/redis.yml
2024-11-09 09:30:15 +08:00

19 lines
528 B
YAML

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.