Skip to content

Commit

Permalink
Merge pull request #2 from Tour-de-App/update-action-to-tda25
Browse files Browse the repository at this point in the history
Update action to TDA25
  • Loading branch information
vojk authored Oct 28, 2024
2 parents cefaa13 + a9f1e48 commit 54407bf
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'
java-version: "17"
distribution: "adopt"

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
Expand All @@ -30,12 +30,12 @@ jobs:
with:
context: ./
file: ./src/main/docker/Dockerfile.jvm
tags: tda-quarkus:latest
outputs: type=docker,dest=/tmp/tda-quarkus.tar
tags: tda:latest
outputs: type=docker,dest=/tmp/tda.tar

- name: Upload to TdA
uses: Tour-de-App/upload-app@tda-25
with:
team_secret: ${{ secrets.TEAM_SECRET }}
image_name: tda-quarkus
image_path: /tmp/tda-quarkus.tar
team_token: ${{ secrets.TEAM_TOKEN }}
image_name: tda
image_path: /tmp/tda.tar
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,28 @@ If you want to learn more about Quarkus, please visit its website: https://quark
## Running the application in dev mode

You can run your application in dev mode that enables live coding using:

```shell script
./mvnw compile quarkus:dev
```

> **_NOTE:_** Quarkus now ships with a Dev UI, which is available in dev mode only at http://localhost:8080/q/dev/.
> **_NOTE:_** Quarkus now ships with a Dev UI, which is available in dev mode only at http://localhost:8080/q/dev/.
## Packaging and running the application

The application can be packaged using:

```shell script
./mvnw package
```

It produces the `quarkus-run.jar` file in the `target/quarkus-app/` directory.
Be aware that it’s not an _über-jar_ as the dependencies are copied into the `target/quarkus-app/lib/` directory.

The application is now runnable using `java -jar target/quarkus-app/quarkus-run.jar`.

If you want to build an _über-jar_, execute the following command:

```shell script
./mvnw package -Dquarkus.package.type=uber-jar
```
Expand All @@ -33,12 +37,14 @@ The application, packaged as an _über-jar_, is now runnable using `java -jar ta

## Creating a native executable

You can create a native executable using:
You can create a native executable using:

```shell script
./mvnw package -Dnative
```

Or, if you don't have GraalVM installed, you can run the native executable build in a container using:
Or, if you don't have GraalVM installed, you can run the native executable build in a container using:

```shell script
./mvnw package -Dnative -Dquarkus.native.container-build=true
```
Expand All @@ -54,3 +60,7 @@ If you want to learn more about building native executables, please consult http
Easily start your Reactive RESTful Web Services

[Related guide section...](https://quarkus.io/guides/getting-started-reactive#reactive-jax-rs-resources)

## Odevzdání

Jak odevzdat svojí aplikaci můžete najít v našich [vzdělávacích materiálech](https://tourde.app/vzdelavaci-materialy/jak-odevzdavat)

0 comments on commit 54407bf

Please sign in to comment.