From 2b7a743876433b5c12a06757ed69c0aa998b9230 Mon Sep 17 00:00:00 2001 From: "Michael N. Lipp" Date: Sun, 11 Jun 2023 18:26:04 +0200 Subject: [PATCH] Testing... --- .github/workflows/release.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..2732cc0 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,30 @@ +name: Java CI with Gradle + +on: + release: + types: [published] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Install graphviz + run: sudo apt-get install graphviz + - name: Install podman + run: sudo apt-get install podman + - name: Log in to the Container registry + uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'temurin' + - name: Push with Gradle + run: ./gradlew -Pdocker.registry=ghcr.io pushContainer