Skip to content

Commit

Permalink
Merge pull request #39 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 52f3b1f + e062f99 commit 7b2f48f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/gradle-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,18 @@ name: Gradle Build Image
run-name: ${{ github.actor }} is Build Boot Image Actions
on:
push:
branches: [ "main","dev" ]
tags:
- 'v*'
release:
types: [ created ]
env:
GITHUB_REGISTRY: ghcr.io/${{ github.actor }}
DOCKER_REGISTRY: docker.io/alexbob
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=ref,event=tag
jobs:
boot-build-image:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -87,11 +93,7 @@ jobs:
images: |
${{ env.GITHUB_REGISTRY }}/plate-platform
${{ env.DOCKER_REGISTRY }}/plate-platform
tags: |
type=semver,pattern={{version}},value=v3.4.0
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=ref,event=branch
tags: ${{ env.tags }}

- name: Build and Push Platform
uses: docker/build-push-action@v6
Expand All @@ -111,11 +113,7 @@ jobs:
images: |
${{ env.GITHUB_REGISTRY }}/plate-oauth2
${{ env.DOCKER_REGISTRY }}/plate-oauth2
tags: |
type=semver,pattern={{version}},value=v3.4.0
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=ref,event=branch
tags: ${{ env.tags }}

- name: Build and Push Oauth2
uses: docker/build-push-action@v6
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version=3.4.0
version=0.0.1-SNAPSHOT
org.gradle.parallel=true
org.gradle.caching=true
org.gradle.daemon=true
Expand Down

0 comments on commit 7b2f48f

Please sign in to comment.