Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #30

Merged
merged 10 commits into from
Dec 14, 2024
37 changes: 17 additions & 20 deletions .github/workflows/gradle-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ on:
types: [ created ]
env:
GITHUB_REGISTRY: ghcr.io/${{ github.actor }}
DOCKER_REGISTRY: docker.io/alexbob
DOCKER_REGISTRY: alexbob
jobs:
boot-build-image:
environment: base
runs-on: ubuntu-latest
permissions:
contents: read
Expand All @@ -28,22 +27,6 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log into registry ${{ env.GITHUB_REGISTRY }}
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
registry: ${{ env.GITHUB_REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.PAGK_TOKEN }}

- name: Log into registry docker.io
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
registry: ${{env.DOCKER_REGISTRY}}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Set up JDK 21 for x64
uses: actions/setup-java@v4
with:
Expand All @@ -59,6 +42,19 @@ jobs:
chmod +x ./gradlew
./gradlew bootBuildImage

- name: Log into registry ${{ env.GITHUB_REGISTRY }}
uses: docker/login-action@v3
with:
registry: ${{ env.GITHUB_REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.PAGK_TOKEN }}

- name: Log into registry ${{ env.DOCKER_REGISTRY }}
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Extract platform metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
Expand All @@ -81,8 +77,8 @@ jobs:
done <<< "${{ steps.meta.outputs.tags }}"
- name: Push docker platform image to DockerHub
run: |
docker push ${{ env.GITHUB_REGISTRY }}/plate-platform
docker push ${{ env.DOCKER_REGISTRY }}/plate-platform
docker push --all-tags ${{ env.GITHUB_REGISTRY }}/plate-platform
docker push --all-tags ${{ env.DOCKER_REGISTRY }}/plate-platform

- name: Extract oauth2 metadata (tags, labels) for Docker
id: oauth2
Expand All @@ -98,6 +94,7 @@ jobs:
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=ref,event=branch

- name: Tag oauth2 docker image
run: |
while IFS= read -r tag; do
Expand Down
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,14 @@ basic system information such as users, roles, tenants, menus, etc., and provide

## ☀️ License

[MIT](https://github.com/vnobo/plate/blob/main/LICENSE)

[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FNG-ZORRO%2Fng-zorro-antd.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FNG-ZORRO%2Fng-zorro-antd?ref=badge_shield)
[MIT](./LICENSE)

## 🖥 Environment Support

* Spring boot `3.3.2`
* Spring boot `3.4.0`
*

Angular `^17.2.1` [![npm package](https://img.shields.io/npm/v/ng-zorro-antd.svg?style=flat-square)](https://www.npmjs.org/package/ng-zorro-antd)
Angular `^19.0.0`
* ng-zorro-antd `17.2.0`
* Server-side Rendering
* Modern browsers including the following [specific versions](https://angular.io/guide/browser-support)
Expand Down
Loading