diff --git a/.github/workflows/reusable-build.yml b/.github/workflows/reusable-build.yml index 600b2e9..0f3c7da 100644 --- a/.github/workflows/reusable-build.yml +++ b/.github/workflows/reusable-build.yml @@ -211,6 +211,8 @@ jobs: ${{ ((github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/main') && format('type=raw,value={0},priority=800\ntype=raw,value={0}-{1},priority=700', env.TAG_VERSION, env.TIMESTAMP) || '' }} # TAG_VERSION-zfs, TAG_VERSION-zfs-TIMESTAMP ${{ ((github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/main') && format('type=raw,value={0}-zfs\ntype=raw,value={0}-zfs-{1}', env.TAG_VERSION, env.TIMESTAMP) || '' }} + # only stable or testing + type=raw,value=${{ env.TAG_VERSION }},enable=${{ (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/main' && (env.TAG_VERSION == 'stable' || env.TAG_VERSION == 'testing') }} # latest only for TAG_VERSION=stable type=raw,value=latest,enable=${{ (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/main' && env.TAG_VERSION == 'stable' }}