commit 9c459255b6adc25519ebb170f16c4cc159040ff6 Author: huanghs Date: Mon Oct 21 18:57:23 2024 +0800 添加 .gitea/workflows/nginx.yml diff --git a/.gitea/workflows/nginx.yml b/.gitea/workflows/nginx.yml new file mode 100644 index 0000000..6276b65 --- /dev/null +++ b/.gitea/workflows/nginx.yml @@ -0,0 +1,20 @@ + +name: Nginx +on: [push] +jobs: + build-docker: + runs-on: ubuntu-latest + steps: + - run: echo "FROM nginx:1.25-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.25-alpine-slim + + - run: echo Success. \ No newline at end of file