mirror/.gitea/workflows/redis.yml

19 lines
528 B
YAML
Raw Normal View History

2024-11-09 09:30:15 +08:00
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.