From 5db9eba5561b6a2d7f08247bc5ce2f5ea460e2f9 Mon Sep 17 00:00:00 2001 From: Fascinated Date: Thu, 13 Apr 2023 19:17:48 +0100 Subject: [PATCH 1/3] Update 'gitea-runner/NginxPHPDockerfile' --- gitea-runner/NginxPHPDockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitea-runner/NginxPHPDockerfile b/gitea-runner/NginxPHPDockerfile index eb5dc7d..0f106eb 100644 --- a/gitea-runner/NginxPHPDockerfile +++ b/gitea-runner/NginxPHPDockerfile @@ -1,4 +1,4 @@ FROM tangramor/nginx-php8-fpm # Install GD library -RUN docker-php-ext-install gd \ No newline at end of file +RUN docker-php-ext-install gd From 721532ca5cd91808b76a0dda2f05ac0e727d1b38 Mon Sep 17 00:00:00 2001 From: Fascinated Date: Fri, 14 Apr 2023 20:23:53 +0100 Subject: [PATCH 2/3] Update '.gitea/workflows/publish.yaml' --- .gitea/workflows/publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml index 4434df0..79a872a 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/publish.yaml @@ -3,7 +3,7 @@ name: Publish on: push: branches: - - "**" + - "master" jobs: docker: From e345d3fa2437585bc865c0816d7e6de10aafe54b Mon Sep 17 00:00:00 2001 From: Fascinated Date: Wed, 3 May 2023 06:48:56 +0100 Subject: [PATCH 3/3] Update '.gitea/workflows/publish.yaml' --- .gitea/workflows/publish.yaml | 54 +++++++++++++++++++++++------------ 1 file changed, 35 insertions(+), 19 deletions(-) diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml index 79a872a..e2e3e6c 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/publish.yaml @@ -1,4 +1,4 @@ -name: Publish +Actions name: Publish on: push: @@ -11,41 +11,57 @@ jobs: matrix: arch: ["ubuntu-latest"] git-version: ["2.38.4"] + max-parallel: 3 + fail-fast: true runs-on: ${{ matrix.arch }} steps: - - name: checkout - uses: actions/checkout@v2 - with: - submodules: recursive + - name: Checkout + uses: https://github.com/actions/checkout@v3 - - name: Download docker + - name: Download Docker run: | wget -q -O /tmp/docker.tgz https://download.docker.com/linux/static/stable/x86_64/docker-20.10.23.tgz \ && tar --extract --file /tmp/docker.tgz --directory /usr/bin --strip-components 1 --no-same-owner docker/docker \ - && rm -rf /tmp/* + && rm -rf /tmp/* - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: https://github.com/docker/setup-buildx-action@v2 - name: Login to Repo - uses: docker/login-action@v2 + uses: https://github.com/docker/login-action@v2 with: - registry: git.fascinated.cc + registry: git.rainnny.club username: ${{ secrets.REPO_USERNAME }} password: ${{ secrets.REPO_TOKEN }} - - name: Build and push (Node 18.x) + - name: Build and Push (Docker) + uses: docker/build-push-action@v4 + with: + push: true + context: ./gitea-runner + file: ./gitea-runner/DockerDockerfile + tags: git.rainnny.club/rainnny/gitea-runner:docker + + - name: Build and Push (Node 18.x) uses: docker/build-push-action@v4 with: push: true context: ./gitea-runner file: ./gitea-runner/Node18xDockerfile - tags: git.fascinated.cc/fascinated/gitea-runner:node-18 + tags: git.rainnny.club/rainnny/gitea-runner:node-18 - - name: Build and push (Nginx PHP) - uses: docker/build-push-action@v4 - with: - push: true - context: ./gitea-runner - file: ./gitea-runner/NginxPHPDockerfile - tags: git.fascinated.cc/fascinated/nginx-php:latest + - name: Build and Push (Java 17) + uses: docker/build-push-action@v4 + with: + push: true + context: ./gitea-runner + file: ./gitea-runner/Java17Dockerfile + tags: git.rainnny.club/rainnny/gitea-runner:java-17 + + - name: Build and Push (Java 18) + uses: docker/build-push-action@v4 + with: + push: true + context: ./gitea-runner + file: ./gitea-runner/Java18Dockerfile + tags: git.rainnny.club/rainnny/gitea-runner:java-18 \ No newline at end of file