Skip to content

Push Container Image with Gradle #79

Push Container Image with Gradle

Push Container Image with Gradle #79

Workflow file for this run

name: Push Container Image with Gradle
on:
release:
types: [published]
permissions:
contents: read
packages: write
concurrency:
group: doc_generation
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- 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 21
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'temurin'
- name: Push with Gradle
run: ./gradlew -Pwebsite.push.token=${{ secrets.WEBSITE_PUSH_TOKEN }} -Pdocker.registry=ghcr.io/${{ github.actor }} stage pushImages