From cdab92880ea3b99fd79584e4fcd67a3ac5ff57aa Mon Sep 17 00:00:00 2001 From: huanghs Date: Mon, 6 Jan 2025 18:30:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/nginx.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/nginx.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/nginx.yml b/.gitea/workflows/nginx.yml index 900c033..193a2b6 100644 --- a/.gitea/workflows/nginx.yml +++ b/.gitea/workflows/nginx.yml @@ -33,4 +33,21 @@ jobs: password: ${{ secrets.DOCKER_PASSWORD }} tags: git.zgfxrc.cn/registry/nginx:1.27-alpine-slim - - run: echo Success. \ No newline at end of file + - run: echo Success. + + build-1_27_1: + runs-on: ubuntu-latest + steps: + - run: echo "FROM nginx:1.27.1-alpine-slim" > 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/nginx:1.27-alpine-slim + + - run: echo Success.