more workaround for empty gitea.ref_name
Build Container Image / build_arm64 (push) Successful in 13s Details
Build Container Image / build_amd64 (push) Successful in 32s Details
Build Container Image / publish_arm64 (push) Successful in 26s Details
Build Container Image / build_manifest (push) Successful in 7s Details
Build Container Image / publish_amd64 (push) Successful in 21s Details
Build Container Image / publish_manifest (push) Successful in 25s Details

This commit is contained in:
Daniel Wolf 2023-10-18 23:54:01 -04:00
parent 9e626dd5e6
commit 55883f12a6
Signed by: nephatrine
GPG Key ID: 59D70EC2E4AAB4D0
1 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ jobs:
docker manifest create code.nephatrine.net/nephnet/nginx-h5ai:${BRANCH} --amend code.nephatrine.net/nephnet/nginx-h5ai:${BRANCH}-amd64 --amend code.nephatrine.net/nephnet/nginx-h5ai:${BRANCH}-arm64v8
docker manifest push --purge code.nephatrine.net/nephnet/nginx-h5ai:${BRANCH}
publish_amd64:
if: gitea.ref_name == 'master'
if: gitea.ref_name == 'master' || gitea.ref_name == ''
needs: [build_amd64]
runs-on: nephnet-amd64
steps:
@ -94,7 +94,7 @@ jobs:
docker tag code.nephatrine.net/nephnet/nginx-h5ai:master-amd64 nephatrine/nginx-h5ai:latest-amd64
docker push nephatrine/nginx-h5ai:latest-amd64
publish_arm64:
if: gitea.ref_name == 'master'
if: gitea.ref_name == 'master' || gitea.ref_name == ''
needs: [build_arm64]
runs-on: nephnet-arm64
steps: