添加 .gitea/workflows/redis.yml
This commit is contained in:
parent
d657b1172a
commit
bfbd82685b
19
.gitea/workflows/redis.yml
Normal file
19
.gitea/workflows/redis.yml
Normal 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.
|
Loading…
x
Reference in New Issue
Block a user