Skip to content

quarkus 3.4.3

quarkus 3.4.3 #40

Workflow file for this run

name: build
on:
push:
branches:
- master
permissions:
packages: write
jobs:
api:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
java-version: "17"
distribution: "temurin"
cache: "maven"
- uses: graalvm/setup-graalvm@v1
with:
version: 'latest'
java-version: '17'
components: 'native-image'
github-token: ${{ secrets.GITHUB_TOKEN }}
- working-directory: api
run: mvn clean package -Pnative
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v5
with:
context: api
tags: ghcr.io/jendib/mytube/api:latest
file: api/src/main/docker/Dockerfile.native
push: true
web:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v5
with:
context: web
tags: ghcr.io/jendib/mytube/web:latest
file: web/Dockerfile
push: true