ci: just throw all the arch-specific images into generic repos
Build Container Image / build_latest_amd64 (push) Successful in 15m45s Details
Build Container Image / build_latest_i386 (push) Successful in 17m51s Details
Build Container Image / build_latest (push) Successful in 1m0s Details
Build Container Image / push_latest_amd64 (push) Successful in 1m52s Details
Build Container Image / push_latest_i386 (push) Successful in 1m54s Details
Build Container Image / push_latest (push) Successful in 1m40s Details
Build Container Image / update_readme (push) Successful in 7s Details

This commit is contained in:
Daniel Wolf 2024-03-31 15:18:59 -04:00
parent e80327d7ba
commit 380eefbd4f
Signed by: nephatrine
GPG Key ID: 59D70EC2E4AAB4D0
1 changed files with 19 additions and 29 deletions

View File

@ -25,11 +25,6 @@ jobs:
registry: code.nephatrine.net
username: ${{ gitea.actor }}
password: ${{ secrets.PACKAGER_TOKEN }}
- name: Docker Login (Pull Auth)
uses: https://github.com/docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASS }}
- name: Build & Push (Master)
uses: https://github.com/docker/build-push-action@v5
if: gitea.ref_name == 'master' || gitea.ref_name == ''
@ -40,9 +35,9 @@ jobs:
pull: true
push: true
file: Dockerfile
tags: code.nephatrine.net/nephnet/nxb-cross-haiku-amd64:latest
cache-from: type=registry,ref=code.nephatrine.net/nephnet/nxb-cross-haiku-amd64:latest-cache
cache-to: type=registry,image-manifest=true,oci-mediatypes=true,ref=code.nephatrine.net/nephnet/nxb-cross-haiku-amd64:latest-cache,mode=max
tags: code.nephatrine.net/nephnet/amd64:nxb-cross-haiku-latest
cache-from: type=registry,ref=code.nephatrine.net/nephnet/amd64-cache:nxb-cross-haiku-latest
cache-to: type=registry,image-manifest=true,oci-mediatypes=true,ref=code.nephatrine.net/nephnet/amd64-cache:nxb-cross-haiku-latest,mode=max
- name: Build & Push (Branch)
if: gitea.ref_name != 'master' && gitea.ref_name != ''
run: |
@ -68,9 +63,9 @@ jobs:
password: ${{ secrets.DOCKER_PASS }}
- name: Tag & Push
run: |
docker pull code.nephatrine.net/nephnet/nxb-cross-haiku-amd64:latest --platform linux/amd64
docker tag code.nephatrine.net/nephnet/nxb-cross-haiku-amd64:latest nephatrine/amd64:nxb-cross-haiku-latest
docker rmi code.nephatrine.net/nephnet/nxb-cross-haiku-amd64:latest
docker pull code.nephatrine.net/nephnet/amd64:nxb-cross-haiku-latest --platform linux/amd64
docker tag code.nephatrine.net/nephnet/amd64:nxb-cross-haiku-latest nephatrine/amd64:nxb-cross-haiku-latest
docker rmi code.nephatrine.net/nephnet/amd64:nxb-cross-haiku-latest
docker push nephatrine/amd64:nxb-cross-haiku-latest
docker rmi nephatrine/amd64:nxb-cross-haiku-latest
build_latest_i386:
@ -89,11 +84,6 @@ jobs:
registry: code.nephatrine.net
username: ${{ gitea.actor }}
password: ${{ secrets.PACKAGER_TOKEN }}
- name: Docker Login (Pull Auth)
uses: https://github.com/docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASS }}
- name: Build & Push (Master)
uses: https://github.com/docker/build-push-action@v5
if: gitea.ref_name == 'master' || gitea.ref_name == ''
@ -104,9 +94,9 @@ jobs:
pull: true
push: true
file: Dockerfile
tags: code.nephatrine.net/nephnet/nxb-cross-haiku-i386:latest
cache-from: type=registry,ref=code.nephatrine.net/nephnet/nxb-cross-haiku-i386:latest-cache
cache-to: type=registry,image-manifest=true,oci-mediatypes=true,ref=code.nephatrine.net/nephnet/nxb-cross-haiku-i386:latest-cache,mode=max
tags: code.nephatrine.net/nephnet/i386:nxb-cross-haiku-latest
cache-from: type=registry,ref=code.nephatrine.net/nephnet/i386-cache:nxb-cross-haiku-latest
cache-to: type=registry,image-manifest=true,oci-mediatypes=true,ref=code.nephatrine.net/nephnet/i386-cache:nxb-cross-haiku-latest,mode=max
- name: Build & Push (Branch)
if: gitea.ref_name != 'master' && gitea.ref_name != ''
run: |
@ -132,9 +122,9 @@ jobs:
password: ${{ secrets.DOCKER_PASS }}
- name: Tag & Push
run: |
docker pull code.nephatrine.net/nephnet/nxb-cross-haiku-i386:latest --platform linux/386
docker tag code.nephatrine.net/nephnet/nxb-cross-haiku-i386:latest nephatrine/ia32:nxb-cross-haiku-latest
docker rmi code.nephatrine.net/nephnet/nxb-cross-haiku-i386:latest
docker pull code.nephatrine.net/nephnet/i386:nxb-cross-haiku-latest --platform linux/386
docker tag code.nephatrine.net/nephnet/i386:nxb-cross-haiku-latest nephatrine/ia32:nxb-cross-haiku-latest
docker rmi code.nephatrine.net/nephnet/i386:nxb-cross-haiku-latest
docker push nephatrine/ia32:nxb-cross-haiku-latest
docker rmi nephatrine/ia32:nxb-cross-haiku-latest
build_latest:
@ -151,10 +141,10 @@ jobs:
password: ${{ secrets.PACKAGER_TOKEN }}
- name: Docker Manifest
run: |
docker manifest create code.nephatrine.net/nephnet/nxb-cross-haiku:latest --amend code.nephatrine.net/nephnet/nxb-cross-haiku-amd64:latest --amend code.nephatrine.net/nephnet/nxb-cross-haiku-i386:latest
docker manifest create code.nephatrine.net/nephnet/nxb-cross-haiku:r1beta4 --amend code.nephatrine.net/nephnet/nxb-cross-haiku-amd64:latest --amend code.nephatrine.net/nephnet/nxb-cross-haiku-i386:latest
docker manifest push --purge code.nephatrine.net/nephnet/nxb-cross-haiku:latest
docker manifest create code.nephatrine.net/nephnet/nxb-cross-haiku:r1beta4 --amend code.nephatrine.net/nephnet/amd64:nxb-cross-haiku-latest --amend code.nephatrine.net/nephnet/i386:nxb-cross-haiku-latest
docker manifest create code.nephatrine.net/nephnet/nxb-cross-haiku:latest --amend code.nephatrine.net/nephnet/amd64:nxb-cross-haiku-latest --amend code.nephatrine.net/nephnet/i386:nxb-cross-haiku-latest
docker manifest push --purge code.nephatrine.net/nephnet/nxb-cross-haiku:r1beta4
docker manifest push --purge code.nephatrine.net/nephnet/nxb-cross-haiku:latest
- name: Notify Discord
uses: https://github.com/sarisia/actions-status-discord@v1
if: failure()
@ -173,12 +163,12 @@ jobs:
password: ${{ secrets.DOCKER_PASS }}
- name: Docker Manifest
run: |
docker manifest create nephatrine/nxbuilder:debian-cross-haiku --amend nephatrine/amd64:nxb-cross-haiku-latest --amend nephatrine/ia32:nxb-cross-haiku-latest
docker manifest create nephatrine/nxb-cross-haiku:latest --amend nephatrine/amd64:nxb-cross-haiku-latest --amend nephatrine/ia32:nxb-cross-haiku-latest
docker manifest create nephatrine/nxb-cross-haiku:r1beta4 --amend nephatrine/amd64:nxb-cross-haiku-latest --amend nephatrine/ia32:nxb-cross-haiku-latest
docker manifest push --purge nephatrine/nxbuilder:debian-cross-haiku
docker manifest push --purge nephatrine/nxb-cross-haiku:latest
docker manifest create nephatrine/nxb-cross-haiku:latest --amend nephatrine/amd64:nxb-cross-haiku-latest --amend nephatrine/ia32:nxb-cross-haiku-latest
docker manifest create nephatrine/nxbuilder:debian-cross-haiku --amend nephatrine/amd64:nxb-cross-haiku-latest --amend nephatrine/ia32:nxb-cross-haiku-latest
docker manifest push --purge nephatrine/nxb-cross-haiku:r1beta4
docker manifest push --purge nephatrine/nxb-cross-haiku:latest
docker manifest push --purge nephatrine/nxbuilder:debian-cross-haiku
- name: Notify Discord
if: gitea.event_name != 'schedule'
uses: https://github.com/sarisia/actions-status-discord@v1