From 2511336609aac308f9613aecbbeee5340c38d6fa Mon Sep 17 00:00:00 2001 From: Aetherinox Date: Mon, 24 Feb 2025 09:59:33 -0700 Subject: [PATCH] ci: add arch tag --- .github/workflows/deploy-docker-all.yml | 36 +++++++++---------- .github/workflows/deploy-docker-dockerhub.yml | 4 +-- .github/workflows/deploy-docker-gitea.yml | 12 +++---- .github/workflows/deploy-docker-github.yml | 12 +++---- 4 files changed, 32 insertions(+), 32 deletions(-) diff --git a/.github/workflows/deploy-docker-all.yml b/.github/workflows/deploy-docker-all.yml index 5bbd529f..087c3c93 100755 --- a/.github/workflows/deploy-docker-all.yml +++ b/.github/workflows/deploy-docker-all.yml @@ -391,6 +391,9 @@ jobs: # latest no type=raw,value=latest,enable=false + # tag add arm64 + # type=raw,enable=true,priority=1000,value=arm64 + # dispatch add x1.x.x-arm64 type=raw,enable=${{ github.event_name == 'workflow_dispatch' && inputs.DEV_RELEASE == false }},priority=300,prefix=,suffix=-arm64,value=${{ env.IMAGE_VERSION }} @@ -399,9 +402,6 @@ jobs: # tag add tag-arm64 type=ref,enable=${{ github.event_name == 'pull_request' || github.event_name == 'push' }},priority=600,prefix=,suffix=-arm64,event=tag - - # tag add arm64 - type=raw,enable=true,priority=100,value=arm64 flavor: | latest=false labels: | @@ -650,6 +650,9 @@ jobs: # latest yes type=raw,value=latest,enable=${{ !inputs.DEV_RELEASE }} + # tag add amd64 + # type=raw,enable=true,priority=1000,value=amd64 + # dispatch add x1.x.x-amd64 type=raw,enable=${{ github.event_name == 'workflow_dispatch' && inputs.DEV_RELEASE == false }},priority=300,prefix=,suffix=-amd64,value=${{ env.IMAGE_VERSION }} @@ -661,9 +664,6 @@ jobs: # add development tag to default architecture (amd64) type=raw,enable=${{ inputs.DEV_RELEASE }},priority=400,prefix=,suffix=,value=development - - # tag add amd64 - type=raw,enable=true,priority=100,value=amd64 flavor: | latest=${{ !inputs.DEV_RELEASE }} labels: | @@ -912,6 +912,9 @@ jobs: # latest no type=raw,value=latest,enable=false + # tag add arm64 + # type=raw,enable=true,priority=1000,value=arm64 + # dispatch add x1.x.x-arm64 type=raw,enable=${{ github.event_name == 'workflow_dispatch' && inputs.DEV_RELEASE == false }},priority=300,prefix=,suffix=-arm64,value=${{ env.IMAGE_VERSION }} @@ -920,9 +923,6 @@ jobs: # tag add tag-arm64 type=ref,enable=${{ github.event_name == 'pull_request' || github.event_name == 'push' }},priority=600,prefix=,suffix=-arm64,event=tag - - # tag add arm64 - type=raw,enable=true,priority=100,value=arm64 flavor: | latest=false labels: | @@ -1170,6 +1170,9 @@ jobs: # latest yes type=raw,value=latest,enable=${{ !inputs.DEV_RELEASE }} + # tag add amd64 + # type=raw,enable=true,priority=1000,value=amd64 + # dispatch add x1.x.x-amd64 type=raw,enable=${{ github.event_name == 'workflow_dispatch' && inputs.DEV_RELEASE == false }},priority=300,prefix=,suffix=-amd64,value=${{ env.IMAGE_VERSION }} @@ -1181,9 +1184,6 @@ jobs: # add development tag to default architecture (amd64) type=raw,enable=${{ inputs.DEV_RELEASE }},priority=400,prefix=,suffix=,value=development - - # tag add amd64 - type=raw,enable=true,priority=100,value=amd64 flavor: | latest=${{ !inputs.DEV_RELEASE }} labels: | @@ -1433,6 +1433,9 @@ jobs: # latest no type=raw,value=latest,enable=false + # tag add arm64 + # type=raw,enable=true,priority=1000,value=arm64 + # dispatch add x1.x.x-arm64 type=raw,enable=${{ github.event_name == 'workflow_dispatch' && inputs.DEV_RELEASE == false }},priority=300,prefix=,suffix=-arm64,value=${{ env.IMAGE_VERSION }} @@ -1441,9 +1444,6 @@ jobs: # tag add tag-arm64 type=ref,enable=${{ github.event_name == 'pull_request' || github.event_name == 'push' }},priority=600,prefix=,suffix=-arm64,event=tag - - # tag add arm64 - type=raw,enable=true,priority=100,value=arm64 flavor: | latest=false labels: | @@ -1692,6 +1692,9 @@ jobs: # latest yes type=raw,value=latest,enable=${{ !inputs.DEV_RELEASE }} + # tag add amd64 + # type=raw,enable=true,priority=1000,value=amd64 + # dispatch add x1.x.x-amd64 type=raw,enable=${{ github.event_name == 'workflow_dispatch' && inputs.DEV_RELEASE == false }},priority=300,prefix=,suffix=-amd64,value=${{ env.IMAGE_VERSION }} @@ -1703,9 +1706,6 @@ jobs: # add development tag to default architecture (amd64) type=raw,enable=${{ inputs.DEV_RELEASE }},priority=400,prefix=,suffix=,value=development - - # tag add amd64 - type=raw,enable=true,priority=100,value=amd64 flavor: | latest=${{ !inputs.DEV_RELEASE }} labels: | diff --git a/.github/workflows/deploy-docker-dockerhub.yml b/.github/workflows/deploy-docker-dockerhub.yml index 2feda02e..ad6357b5 100755 --- a/.github/workflows/deploy-docker-dockerhub.yml +++ b/.github/workflows/deploy-docker-dockerhub.yml @@ -337,7 +337,7 @@ jobs: type=raw,value=latest,enable=false # tag add arm64 - type=raw,enable=true,priority=1000,value=arm64 + # type=raw,enable=true,priority=1000,value=arm64 # dispatch add x1.x.x-arm64 type=raw,enable=${{ github.event_name == 'workflow_dispatch' && inputs.DEV_RELEASE == false }},priority=300,prefix=,suffix=-arm64,value=${{ env.IMAGE_VERSION }} @@ -596,7 +596,7 @@ jobs: type=raw,value=latest,enable=${{ !inputs.DEV_RELEASE }} # tag add amd64 - type=raw,enable=true,priority=1000,value=amd64 + # type=raw,enable=true,priority=1000,value=amd64 # dispatch add x1.x.x-amd64 type=raw,enable=${{ github.event_name == 'workflow_dispatch' && inputs.DEV_RELEASE == false }},priority=300,prefix=,suffix=-amd64,value=${{ env.IMAGE_VERSION }} diff --git a/.github/workflows/deploy-docker-gitea.yml b/.github/workflows/deploy-docker-gitea.yml index 40141c15..dfdf9b58 100755 --- a/.github/workflows/deploy-docker-gitea.yml +++ b/.github/workflows/deploy-docker-gitea.yml @@ -336,6 +336,9 @@ jobs: # latest no type=raw,value=latest,enable=false + # tag add arm64 + # type=raw,enable=true,priority=1000,value=arm64 + # dispatch add x1.x.x-arm64 type=raw,enable=${{ github.event_name == 'workflow_dispatch' && inputs.DEV_RELEASE == false }},priority=300,prefix=,suffix=-arm64,value=${{ env.IMAGE_VERSION }} @@ -344,9 +347,6 @@ jobs: # tag add tag-arm64 type=ref,enable=${{ github.event_name == 'pull_request' || github.event_name == 'push' }},priority=600,prefix=,suffix=-arm64,event=tag - - # tag add arm64 - type=raw,enable=true,priority=100,value=arm64 flavor: | latest=false labels: | @@ -595,6 +595,9 @@ jobs: # latest yes type=raw,value=latest,enable=${{ !inputs.DEV_RELEASE }} + # tag add amd64 + # type=raw,enable=true,priority=1000,value=amd64 + # dispatch add x1.x.x-amd64 type=raw,enable=${{ github.event_name == 'workflow_dispatch' && inputs.DEV_RELEASE == false }},priority=300,prefix=,suffix=-amd64,value=${{ env.IMAGE_VERSION }} @@ -606,9 +609,6 @@ jobs: # add development tag to default architecture (amd64) type=raw,enable=${{ inputs.DEV_RELEASE }},priority=400,prefix=,suffix=,value=development - - # tag add amd64 - type=raw,enable=true,priority=100,value=amd64 flavor: | latest=${{ !inputs.DEV_RELEASE }} labels: | diff --git a/.github/workflows/deploy-docker-github.yml b/.github/workflows/deploy-docker-github.yml index 8a30e182..d68f28dd 100755 --- a/.github/workflows/deploy-docker-github.yml +++ b/.github/workflows/deploy-docker-github.yml @@ -334,6 +334,9 @@ jobs: # latest no type=raw,value=latest,enable=false + # tag add arm64 + # type=raw,enable=true,priority=1000,value=arm64 + # dispatch add x1.x.x-arm64 type=raw,enable=${{ github.event_name == 'workflow_dispatch' && inputs.DEV_RELEASE == false }},priority=300,prefix=,suffix=-arm64,value=${{ env.IMAGE_VERSION }} @@ -342,9 +345,6 @@ jobs: # tag add tag-arm64 type=ref,enable=${{ github.event_name == 'pull_request' || github.event_name == 'push' }},priority=600,prefix=,suffix=-arm64,event=tag - - # tag add arm64 - type=raw,enable=true,priority=100,value=arm64 flavor: | latest=false labels: | @@ -591,6 +591,9 @@ jobs: # latest yes type=raw,value=latest,enable=${{ !inputs.DEV_RELEASE }} + # tag add amd64 + # type=raw,enable=true,priority=1000,value=amd64 + # dispatch add x1.x.x-amd64 type=raw,enable=${{ github.event_name == 'workflow_dispatch' && inputs.DEV_RELEASE == false }},priority=300,prefix=,suffix=-amd64,value=${{ env.IMAGE_VERSION }} @@ -602,9 +605,6 @@ jobs: # add development tag to default architecture (amd64) type=raw,enable=${{ inputs.DEV_RELEASE }},priority=400,prefix=,suffix=,value=development - - # tag add amd64 - type=raw,enable=true,priority=100,value=amd64 flavor: | latest=${{ !inputs.DEV_RELEASE }} labels: |