Skip to content

Merge pull request #141 from naviqore/140-spring-boot-application-is-… #291

Merge pull request #141 from naviqore/140-spring-boot-application-is-…

Merge pull request #141 from naviqore/140-spring-boot-application-is-… #291

Workflow file for this run

name: Docker CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build image
run: |
COMMIT_HASH=$(git rev-parse --short HEAD)
IMAGE_TAG=ghcr.io/${{ github.repository }}:${COMMIT_HASH}
docker build . --file Dockerfile --tag $IMAGE_TAG