mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
merge docker amd64 and arm64 tags
This commit is contained in:
34
.github/workflows/build.yml
vendored
34
.github/workflows/build.yml
vendored
@@ -20,6 +20,12 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
# Setup
|
# Setup
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v3
|
||||||
|
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- name: Set up GraalVM
|
- name: Set up GraalVM
|
||||||
uses: graalvm/setup-graalvm@v1
|
uses: graalvm/setup-graalvm@v1
|
||||||
with:
|
with:
|
||||||
@@ -52,6 +58,7 @@ jobs:
|
|||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
|
## tags
|
||||||
- name: Docker build and push tag - native
|
- name: Docker build and push tag - native
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
if: ${{ github.ref_type == 'tag' }}
|
if: ${{ github.ref_type == 'tag' }}
|
||||||
@@ -61,8 +68,8 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
tags: |
|
tags: |
|
||||||
athou/commafeed:latest
|
athou/commafeed:latest-native
|
||||||
athou/commafeed:${{ github.ref_name }}
|
athou/commafeed:${{ github.ref_name }}-native
|
||||||
|
|
||||||
- name: Docker build and push tag - jvm
|
- name: Docker build and push tag - jvm
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
@@ -71,11 +78,20 @@ jobs:
|
|||||||
context: commafeed-server
|
context: commafeed-server
|
||||||
file: src/main/docker/Dockerfile.jvm
|
file: src/main/docker/Dockerfile.jvm
|
||||||
push: true
|
push: true
|
||||||
platforms: linux/amd64,linux/arm64/v8
|
platforms: linux/arm64/v8
|
||||||
tags: |
|
tags: |
|
||||||
athou/commafeed:latest-jvm
|
athou/commafeed:latest-jvm
|
||||||
athou/commafeed:${{ github.ref_name }}-jvm
|
athou/commafeed:${{ github.ref_name }}-jvm
|
||||||
|
|
||||||
|
- name: Docker merge tag manifests
|
||||||
|
uses: Noelware/docker-manifest-action@0.4.2
|
||||||
|
if: ${{ github.ref_type == 'tag' }}
|
||||||
|
with:
|
||||||
|
inputs: athou/commafeed:latest
|
||||||
|
images: athou/commafeed:latest-native,athou/commafeed:latest-jvm
|
||||||
|
push: true
|
||||||
|
|
||||||
|
## master
|
||||||
- name: Docker build and push master - native
|
- name: Docker build and push master - native
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
if: ${{ github.ref_name == 'master' }}
|
if: ${{ github.ref_name == 'master' }}
|
||||||
@@ -84,7 +100,7 @@ jobs:
|
|||||||
file: src/main/docker/Dockerfile.native
|
file: src/main/docker/Dockerfile.native
|
||||||
push: true
|
push: true
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
tags: athou/commafeed:master
|
tags: athou/commafeed:master-native
|
||||||
|
|
||||||
- name: Docker build and push master - jvm
|
- name: Docker build and push master - jvm
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
@@ -93,5 +109,13 @@ jobs:
|
|||||||
context: commafeed-server
|
context: commafeed-server
|
||||||
file: src/main/docker/Dockerfile.jvm
|
file: src/main/docker/Dockerfile.jvm
|
||||||
push: true
|
push: true
|
||||||
platforms: linux/amd64
|
platforms: linux/arm64/v8
|
||||||
tags: athou/commafeed:master-jvm
|
tags: athou/commafeed:master-jvm
|
||||||
|
|
||||||
|
- name: Docker merge master manifests
|
||||||
|
uses: Noelware/docker-manifest-action@0.4.2
|
||||||
|
if: ${{ github.ref_name == 'master' }}
|
||||||
|
with:
|
||||||
|
inputs: athou/commafeed:master
|
||||||
|
images: athou/commafeed:master-native,athou/commafeed:master-jvm
|
||||||
|
push: true
|
||||||
|
|||||||
@@ -9,9 +9,9 @@ MVP:
|
|||||||
- https://github.com/quarkusio/quarkus/issues/42463
|
- https://github.com/quarkusio/quarkus/issues/42463
|
||||||
|
|
||||||
- mvn profile instead of -Dquarkus.datasource.db-kind
|
- mvn profile instead of -Dquarkus.datasource.db-kind
|
||||||
- update dockerfile
|
- update github actions
|
||||||
- release after tag (new job that downloads all artifacts because we need them all to create the release)
|
- release after tag
|
||||||
- update github actions (build and copy outside target each database artifact)
|
- new job that downloads all artifacts because we need them all to create the release
|
||||||
- update readme
|
- update readme
|
||||||
- update release notes (+ mention h2 migration has been removed, upgrade to last 4.x is required)
|
- update release notes (+ mention h2 migration has been removed, upgrade to last 4.x is required)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user