Bump org.springframework.boot from 3.1.4 to 3.2.0 (#58) #55
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: [ main ] | |
paths-ignore: | |
- '**.md' | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: login to docker hub | |
uses: docker/login-action@v3 | |
with: | |
username: "hennr" | |
password: ${{ secrets.DOCKER_HUB_TOKEN }} | |
- name: checkout repo | |
uses: actions/checkout@v4 | |
- name: set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '20' | |
distribution: 'temurin' | |
- name: Build with Gradle | |
run: ./gradlew build | |
- name: build docker image | |
run: docker build --platform=linux/arm64 -t hennr/cctray-hub:latest -t hennr/cctray-hub:$(date +%s) . | |
- name: push image | |
run: docker image push --all-tags hennr/cctray-hub |