Skip to content

mr-smithers-excellent/docker-build-push@v6 #5

mr-smithers-excellent/docker-build-push@v6

mr-smithers-excellent/docker-build-push@v6 #5

Workflow file for this run

name: Build Docker
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
env:
REGISTRY: ghcr.io
IMAGENAME: ${{ github.event.repository.name }}
TAG: ${{ github.ref_name }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Docker build
uses: mr-smithers-excellent/docker-build-push@v6
id: build
with:
directory: java
image: ${{ env.IMAGENAME }}
registry: ${{ env.REGISTRY }}
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}