ci: just throw all the arch-specific images into generic repos
Build Container Image / build_previous_amd64 (push) Failing after 1m29s
Details
Build Container Image / push_previous_amd64 (push) Has been skipped
Details
Build Container Image / build_previous (push) Has been skipped
Details
Build Container Image / push_previous (push) Has been skipped
Details
Build Container Image / build_latest_amd64 (push) Failing after 1m24s
Details
Build Container Image / push_latest_amd64 (push) Has been skipped
Details
Build Container Image / build_latest (push) Has been skipped
Details
Build Container Image / push_latest (push) Has been skipped
Details
Build Container Image / update_readme (push) Has been skipped
Details
Build Container Image / build_previous_amd64 (push) Failing after 1m29s
Details
Build Container Image / push_previous_amd64 (push) Has been skipped
Details
Build Container Image / build_previous (push) Has been skipped
Details
Build Container Image / push_previous (push) Has been skipped
Details
Build Container Image / build_latest_amd64 (push) Failing after 1m24s
Details
Build Container Image / push_latest_amd64 (push) Has been skipped
Details
Build Container Image / build_latest (push) Has been skipped
Details
Build Container Image / push_latest (push) Has been skipped
Details
Build Container Image / update_readme (push) Has been skipped
Details
This commit is contained in:
parent
3f0b8e10b5
commit
f27fe67e92
|
@ -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.previous
|
||||
tags: code.nephatrine.net/nephnet/nxb-android-sdk-amd64:previous
|
||||
cache-from: type=registry,ref=code.nephatrine.net/nephnet/nxb-android-sdk-amd64:previous-cache
|
||||
cache-to: type=registry,image-manifest=true,oci-mediatypes=true,ref=code.nephatrine.net/nephnet/nxb-android-sdk-amd64:previous-cache,mode=max
|
||||
tags: code.nephatrine.net/nephnet/amd64:nxb-android-sdk-previous
|
||||
cache-from: type=registry,ref=code.nephatrine.net/nephnet/amd64-cache:nxb-android-sdk-previous
|
||||
cache-to: type=registry,image-manifest=true,oci-mediatypes=true,ref=code.nephatrine.net/nephnet/amd64-cache:nxb-android-sdk-previous,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-android-sdk-amd64:previous --platform linux/amd64
|
||||
docker tag code.nephatrine.net/nephnet/nxb-android-sdk-amd64:previous nephatrine/amd64:nxb-android-sdk-previous
|
||||
docker rmi code.nephatrine.net/nephnet/nxb-android-sdk-amd64:previous
|
||||
docker pull code.nephatrine.net/nephnet/amd64:nxb-android-sdk-previous --platform linux/amd64
|
||||
docker tag code.nephatrine.net/nephnet/amd64:nxb-android-sdk-previous nephatrine/amd64:nxb-android-sdk-previous
|
||||
docker rmi code.nephatrine.net/nephnet/amd64:nxb-android-sdk-previous
|
||||
docker push nephatrine/amd64:nxb-android-sdk-previous
|
||||
docker rmi nephatrine/amd64:nxb-android-sdk-previous
|
||||
build_latest_amd64:
|
||||
|
@ -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-android-sdk-amd64:latest
|
||||
cache-from: type=registry,ref=code.nephatrine.net/nephnet/nxb-android-sdk-amd64:latest-cache
|
||||
cache-to: type=registry,image-manifest=true,oci-mediatypes=true,ref=code.nephatrine.net/nephnet/nxb-android-sdk-amd64:latest-cache,mode=max
|
||||
tags: code.nephatrine.net/nephnet/amd64:nxb-android-sdk-latest
|
||||
cache-from: type=registry,ref=code.nephatrine.net/nephnet/amd64-cache:nxb-android-sdk-latest
|
||||
cache-to: type=registry,image-manifest=true,oci-mediatypes=true,ref=code.nephatrine.net/nephnet/amd64-cache:nxb-android-sdk-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-android-sdk-amd64:latest --platform linux/amd64
|
||||
docker tag code.nephatrine.net/nephnet/nxb-android-sdk-amd64:latest nephatrine/amd64:nxb-android-sdk-latest
|
||||
docker rmi code.nephatrine.net/nephnet/nxb-android-sdk-amd64:latest
|
||||
docker pull code.nephatrine.net/nephnet/amd64:nxb-android-sdk-latest --platform linux/amd64
|
||||
docker tag code.nephatrine.net/nephnet/amd64:nxb-android-sdk-latest nephatrine/amd64:nxb-android-sdk-latest
|
||||
docker rmi code.nephatrine.net/nephnet/amd64:nxb-android-sdk-latest
|
||||
docker push nephatrine/amd64:nxb-android-sdk-latest
|
||||
docker rmi nephatrine/amd64:nxb-android-sdk-latest
|
||||
build_previous:
|
||||
|
@ -151,7 +141,7 @@ jobs:
|
|||
password: ${{ secrets.PACKAGER_TOKEN }}
|
||||
- name: Docker Manifest
|
||||
run: |
|
||||
docker manifest create code.nephatrine.net/nephnet/nxb-android-sdk:29 --amend code.nephatrine.net/nephnet/nxb-android-sdk-amd64:previous
|
||||
docker manifest create code.nephatrine.net/nephnet/nxb-android-sdk:29 --amend code.nephatrine.net/nephnet/amd64:nxb-android-sdk-previous
|
||||
docker manifest push --purge code.nephatrine.net/nephnet/nxb-android-sdk:29
|
||||
- name: Notify Discord
|
||||
uses: https://github.com/sarisia/actions-status-discord@v1
|
||||
|
@ -195,10 +185,10 @@ jobs:
|
|||
password: ${{ secrets.PACKAGER_TOKEN }}
|
||||
- name: Docker Manifest
|
||||
run: |
|
||||
docker manifest create code.nephatrine.net/nephnet/nxb-android-sdk:latest --amend code.nephatrine.net/nephnet/nxb-android-sdk-amd64:latest
|
||||
docker manifest create code.nephatrine.net/nephnet/nxb-android-sdk:32 --amend code.nephatrine.net/nephnet/nxb-android-sdk-amd64:latest
|
||||
docker manifest push --purge code.nephatrine.net/nephnet/nxb-android-sdk:latest
|
||||
docker manifest create code.nephatrine.net/nephnet/nxb-android-sdk:32 --amend code.nephatrine.net/nephnet/amd64:nxb-android-sdk-latest
|
||||
docker manifest create code.nephatrine.net/nephnet/nxb-android-sdk:latest --amend code.nephatrine.net/nephnet/amd64:nxb-android-sdk-latest
|
||||
docker manifest push --purge code.nephatrine.net/nephnet/nxb-android-sdk:32
|
||||
docker manifest push --purge code.nephatrine.net/nephnet/nxb-android-sdk:latest
|
||||
- name: Notify Discord
|
||||
uses: https://github.com/sarisia/actions-status-discord@v1
|
||||
if: failure()
|
||||
|
@ -217,12 +207,12 @@ jobs:
|
|||
password: ${{ secrets.DOCKER_PASS }}
|
||||
- name: Docker Manifest
|
||||
run: |
|
||||
docker manifest create nephatrine/nxbuilder:debian-android-sdk --amend nephatrine/amd64:nxb-android-sdk-latest
|
||||
docker manifest create nephatrine/nxb-android-sdk:latest --amend nephatrine/amd64:nxb-android-sdk-latest
|
||||
docker manifest create nephatrine/nxb-android-sdk:32 --amend nephatrine/amd64:nxb-android-sdk-latest
|
||||
docker manifest push --purge nephatrine/nxbuilder:debian-android-sdk
|
||||
docker manifest push --purge nephatrine/nxb-android-sdk:latest
|
||||
docker manifest create nephatrine/nxb-android-sdk:latest --amend nephatrine/amd64:nxb-android-sdk-latest
|
||||
docker manifest create nephatrine/nxbuilder:debian-android-sdk --amend nephatrine/amd64:nxb-android-sdk-latest
|
||||
docker manifest push --purge nephatrine/nxb-android-sdk:32
|
||||
docker manifest push --purge nephatrine/nxb-android-sdk:latest
|
||||
docker manifest push --purge nephatrine/nxbuilder:debian-android-sdk
|
||||
- name: Notify Discord
|
||||
if: gitea.event_name != 'schedule'
|
||||
uses: https://github.com/sarisia/actions-status-discord@v1
|
||||
|
|
Loading…
Reference in New Issue