feat: update front version + docker build
This commit is contained in:
parent
eb5616fd7a
commit
4a36648ba4
46
.gitea/workflows/build_docker.yml
Normal file
46
.gitea/workflows/build_docker.yml
Normal file
@ -0,0 +1,46 @@
|
||||
name: Build docker image
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
- name: Setup GraalVM
|
||||
uses: graalvm/setup-graalvm@v1
|
||||
with:
|
||||
java-version: '21'
|
||||
distribution: 'graalvm'
|
||||
github-token: ${{ secrets.DOCKER_TOKEN }}
|
||||
native-image-job-reports: 'true'
|
||||
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '21'
|
||||
distribution: 'zulu'
|
||||
cache: 'maven'
|
||||
|
||||
- name: Build with Maven
|
||||
run: ./mvnw package -Dnative -DskipTests -Dquarkus.native.remote-container-build=true -Dquarkus.container-image.build=true
|
||||
|
||||
- name: Login to Docker
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: https://git.la-banquise.fr
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_TOKEN }}
|
||||
|
||||
- name: Build docker image
|
||||
run: docker build -f src/main/docker/Dockerfile.native-micro -t git.la-banquise.fr/malopieds/intra:${{ github.ref_name }} -t git.la-banquise.fr/malopieds/intra:latest .
|
||||
|
||||
- name: Push docker image
|
||||
run: docker push git.la-banquise.fr/malopieds/intra --all-tags
|
||||
|
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -1,3 +1,3 @@
|
||||
[submodule "src/main/webui"]
|
||||
path = src/main/webui
|
||||
url = git@git.la-banquise.fr:malopieds/intra-back.git
|
||||
url = git@git.la-banquise.fr:malopieds/intra-front.git
|
||||
|
@ -1,9 +1,6 @@
|
||||
package fr.la_banquise.backend.rest;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
import fr.la_banquise.backend.rest.request.BulkUserRequest;
|
||||
import fr.la_banquise.backend.rest.request.DeleteUsersRequest;
|
||||
import fr.la_banquise.backend.rest.request.UserRequest;
|
||||
import fr.la_banquise.backend.rest.response.LoggedUserResponse;
|
||||
import fr.la_banquise.backend.services.UserService;
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 6f9f4d8121f784934626893f0550045d96ff4d19
|
||||
Subproject commit 5ac4bc1c56d54190c9fec1db0881a97a768cd255
|
Loading…
x
Reference in New Issue
Block a user