Skip to content

detekt stop crying

detekt stop crying #26

Workflow file for this run

name: Build & Deploy
on:
push:
branches:
- root
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build Artifacts
uses: gradle/gradle-build-action@v2
with:
arguments: build --stacktrace
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: Build and Deploy Artifacts
path: build/libs/*[0-9].jar
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.CR_PAT }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/hyacinthbots/allium:latest