.gitea/workflows/action.yml aktualisiert
Some checks failed
CI / build_act (push) Successful in 3m16s
CI / build_php (8.1) (push) Successful in 1m43s
CI / build_java (21) (push) Failing after 41s
CI / build_php (8.2) (push) Has been cancelled

This commit is contained in:
Snoweuph 2024-04-25 08:02:40 +00:00
parent ea63efa291
commit 01f069e61c

View file

@ -58,4 +58,33 @@ jobs:
push: true push: true
tags: | tags: |
git.euph.dev/actions/runner-php-${{ matrix.version }}:latest git.euph.dev/actions/runner-php-${{ matrix.version }}:latest
git.euph.dev/actions/runner-php:${{ gitea.run_number }} git.euph.dev/actions/runner-php-${{ matrix.version }}:${{ gitea.run_number }}
build_java:
runs-on: 'ubuntu-latest'
needs: build_act
strategy:
matrix:
version: [21]
steps:
- name: Install Docker
run: curl -fsSL https://get.docker.com | sh
- name: Set up QEMU
uses: 'https://git.euph.dev/actions/docker-setup-qemu@v3'
- name: Setup Buildx
uses: 'https://git.euph.dev/actions/docker-setup-buildx@v3'
- name: Login to Registry
uses: 'https://git.euph.dev/actions/docker-login@v3'
with:
registry: git.euph.dev
username: ${{ secrets.DEPLOY_USER }}
password: ${{ secrets.DEPLOY_SECRET }}
- name: Build and push java image
id: build_act_java
uses: 'https://git.euph.dev/actions/docker-build-push@v5'
with:
context: "{{defaultContext}}:images/actions/java"
push: true
tags: |
git.euph.dev/actions/runner-java-${{ matrix.version }}:latest
git.euph.dev/actions/runner-java-${{ matrix.version }}:${{ gitea.run_number }}