Skip to content

Push Container Image with Gradle #67

Push Container Image with Gradle

Push Container Image with Gradle #67

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
fetch-tags: true
- 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 -Prepo.access.token=${{ secrets.REPO_ACCESS_TOKEN }} -Pdocker.registry=ghcr.io/${{ github.actor }} stage pushImages