diff --git a/.gitea/workflows/nginx.yml b/.gitea/workflows/nginx.yml index 6276b65..900c033 100644 --- a/.gitea/workflows/nginx.yml +++ b/.gitea/workflows/nginx.yml @@ -1,8 +1,7 @@ - name: Nginx on: [push] jobs: - build-docker: + build-1_25: runs-on: ubuntu-latest steps: - run: echo "FROM nginx:1.25-alpine-slim" > Dockerfile @@ -17,4 +16,21 @@ jobs: password: ${{ secrets.DOCKER_PASSWORD }} tags: git.zgfxrc.cn/registry/nginx:1.25-alpine-slim + - run: echo Success. + + build-1_27: + runs-on: ubuntu-latest + steps: + - run: echo "FROM nginx:1.27-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. \ No newline at end of file