From d657b1172a2929db2691d244d66c3d1186162df8 Mon Sep 17 00:00:00 2001 From: huanghs Date: Mon, 21 Oct 2024 19:05:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20.gitea/workflows/alpine-jr?= =?UTF-8?q?e.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/alpine-jre.yml | 34 +++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .gitea/workflows/alpine-jre.yml diff --git a/.gitea/workflows/alpine-jre.yml b/.gitea/workflows/alpine-jre.yml new file mode 100644 index 0000000..6c30ff0 --- /dev/null +++ b/.gitea/workflows/alpine-jre.yml @@ -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. \ No newline at end of file