19 lines
528 B
YAML
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.
|