Skip to content

Update dependency org.jruby:jruby-core to v9.4.4.0 #881

Update dependency org.jruby:jruby-core to v9.4.4.0

Update dependency org.jruby:jruby-core to v9.4.4.0 #881

Workflow file for this run

name: pr
on:
pull_request:
branches:
- main
push:
branches:
- main
env:
IMAGE_NAME: ${{ github.event.repository.name }}
VERSION: '0.0.1'
jobs:
build-gradle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 19
- name: Setup Gradle
uses: gradle/[email protected]
- name: Execute Gradle build
run: ./gradlew test installDist
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
name: binaries
path: build/install
retention-days: 1
build-docker:
runs-on: ubuntu-latest
needs: build-gradle
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Download binaries
uses: actions/download-artifact@v3
with:
name: binaries
path: build/install
- name: Build container image
uses: docker/build-push-action@v5
with:
push: false
builder: ${{ steps.buildx.outputs.name }}
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm64/v8
tags: |
ghcr.io/avisi-cloud/${{ env.IMAGE_NAME }}:${{ env.VERSION }}
ghcr.io/avisi-cloud/${{ env.IMAGE_NAME }}:latest
labels: |
org.opencontainers.image.title=${{ github.event.repository.name }}
org.opencontainers.image.description=${{ github.event.repository.description }}
org.opencontainers.image.url=${{ github.event.repository.html_url }}
org.opencontainers.image.revision=${{ github.sha }}
org.opencontainers.image.version=${{ env.VERSION }}