File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 88env :
99 REGISTRY : ghcr.io
1010 IMAGE_NAME : ${{ github.repository }}
11- DEFAULT_BRANCH : ${{ format(' refs/heads/{0}', github.event.repository.default_branch) }}
12- SHOULD_PUSH_IMAGE : ${{ (github.event_name == 'push' && (github.ref == format( 'refs/heads/{0}', github.event.repository.default_branch) || github.ref == 'refs/heads/dev')) || github.event_name == 'workflow_dispatch' }}
11+ RELEASE_BRANCH : refs/heads/master
12+ SHOULD_PUSH_IMAGE : ${{ (github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev')) || github.event_name == 'workflow_dispatch' }}
1313 SHOULD_DOWNLOAD_IP2LOCATION_DB : ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
1414
1515jobs :
4242 with :
4343 images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
4444 tags : |
45- type=raw,value=latest,enable=${{ github.ref == env.DEFAULT_BRANCH }}
45+ type=raw,value=latest,enable=${{ github.ref == env.RELEASE_BRANCH }}
4646 type=raw,value=edge,enable=${{ github.ref == 'refs/heads/dev' }}
4747 type=sha
4848
8787 with :
8888 images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
8989 tags : |
90- type=raw,value=latest-arm,enable=${{ github.ref == env.DEFAULT_BRANCH }}
90+ type=raw,value=latest-arm,enable=${{ github.ref == env.RELEASE_BRANCH }}
9191 type=raw,value=edge-arm,enable=${{ github.ref == 'refs/heads/dev' }}
9292 type=sha,suffix=-arm
9393
You can’t perform that action at this time.
0 commit comments