添加 .gitea/workflows/alpine-jre.yml
All checks were successful
Nginx / build-docker (push) Successful in 2m31s
All checks were successful
Nginx / build-docker (push) Successful in 2m31s
This commit is contained in:
parent
9c459255b6
commit
d657b1172a
34
.gitea/workflows/alpine-jre.yml
Normal file
34
.gitea/workflows/alpine-jre.yml
Normal file
@ -0,0 +1,34 @@
|
||||
name: Nginx
|
||||
on: [push]
|
||||
jobs:
|
||||
build-docker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Make Dockerfile
|
||||
run: echo "FROM seepine/alpine:17-jre" > 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/alpine:17-jre
|
||||
|
||||
- name: Make Dockerfile
|
||||
run: echo "FROM seepine/alpine:8-jre" > 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/alpine:8-jre
|
||||
|
||||
- name: Run Success
|
||||
run: echo Success.
|
Loading…
x
Reference in New Issue
Block a user