Skip to content

Commit

Permalink
Merge pull request #40 from vnobo/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
vnobo authored Dec 17, 2024
2 parents a4d47b6 + 6bf959f commit 764ad73
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 23 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/gradle-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ name: Gradle Build Image
run-name: ${{ github.actor }} is Build Boot Image Actions
on:
push:
branches:
- 'main'
- 'dev'
tags:
- 'v*'
release:
Expand All @@ -16,9 +19,9 @@ env:
GITHUB_REGISTRY: ghcr.io/${{ github.actor }}
DOCKER_REGISTRY: docker.io/alexbob
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{version}},value=v0.0.2
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=semver,pattern={{major}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.') }}
type=ref,event=tag
jobs:
boot-build-image:
Expand All @@ -43,12 +46,6 @@ jobs:
java-version: '21'
distribution: 'liberica'
cache: 'gradle'
cache-dependency-path: | # optional
*.gradle*
**/gradle-wrapper.properties
/tmp/*.work
/tmp/*.build
/tmp/*.launch
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
Expand Down
15 changes: 0 additions & 15 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,6 @@ configure(subprojects - project(":boot")) { project ->
"BPE_APPEND_JAVA_TOOL_OPTIONS": "-Dfile.encoding=UTF-8 " +
"-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager"
]
buildWorkspace {
bind {
source = "/tmp/cache-${rootProject.name}-${project.name}.work"
}
}
buildCache {
bind {
source = "/tmp/cache-${rootProject.name}-${project.name}.build"
}
}
launchCache {
bind {
source = "/tmp/cache-${rootProject.name}-${project.name}.launch"
}
}
}

configurations {
Expand Down

0 comments on commit 764ad73

Please sign in to comment.