Skip to content

Use JRE19 in container and fix artefact version #12

Use JRE19 in container and fix artefact version

Use JRE19 in container and fix artefact version #12

Workflow file for this run

---
name: release
on:
push:
branches: [main]
env:
IMAGE_NAME: ghcr.io/${{ github.repository }}
jobs:
container:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Log in to the container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
push: true
tags: ${{ env.IMAGE_NAME }}:latest,${{ env.IMAGE_NAME }}:${{ github.sha }}