if this works then gg
This commit is contained in:
parent
96ea5ff796
commit
6d603cdfd5
22
.github/workflows/root.yml
vendored
22
.github/workflows/root.yml
vendored
@ -12,6 +12,12 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v3
|
||||||
|
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- name: Set up Java
|
- name: Set up Java
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
|
|
||||||
@ -31,3 +37,19 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: Build and Deploy Artifacts
|
name: Build and Deploy Artifacts
|
||||||
path: build/libs/*.jar
|
path: build/libs/*.jar
|
||||||
|
|
||||||
|
- name: Login to GitHub Container Registry
|
||||||
|
uses: docker/login-action@v2
|
||||||
|
|
||||||
|
with:
|
||||||
|
registry: git.jansel.dev
|
||||||
|
username: ${{ github.repository_owner }}
|
||||||
|
password: ${{ secrets.CR_PAT }}
|
||||||
|
|
||||||
|
- name: Build and push
|
||||||
|
uses: docker/build-push-action@v5
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
|
push: true
|
||||||
|
tags: git.jansel.dev/jansel/feixiao:latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user