.gitea/workflows/action.yml aktualisiert
This commit is contained in:
parent
ea63efa291
commit
01f069e61c
1 changed files with 30 additions and 1 deletions
|
@ -58,4 +58,33 @@ jobs:
|
|||
push: true
|
||||
tags: |
|
||||
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 }}
|
Loading…
Reference in a new issue