Skip to content

Consider stopped containers for updates #57

Consider stopped containers for updates

Consider stopped containers for updates #57

Workflow file for this run

name: Build Docker image
on:
push:
branches:
- master
env:
JAVA_VERSION: 17
jobs:
docker:
name: Push to GitHub Container Registry
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Set up JDK
uses: "actions/setup-java@v1"
with:
java-version: ${{ env.JAVA_VERSION }}
- name: Checkout
uses: "actions/checkout@v2"
- name: "Login to ghcr.io"
uses: "docker/#-action@v1"
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Publish Docker Image
run: mvn package jib:build