From 21cd3c3e4c8f4425620fd4dd1fd766469476775f Mon Sep 17 00:00:00 2001 From: Tobias Meindl Date: Fri, 26 Apr 2024 11:11:11 +0200 Subject: [PATCH] automatically tag latest on push to main --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 07abc60c..22240755 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -41,5 +41,5 @@ jobs: buildArgs: BRANCH=${BRANCH_NAME},COMMIT=${{ steps.vars.outputs.sha_short }},VERSION=${{ steps.vars.outputs.sha_short }} username: ${{ github.repository }} password: ${{ secrets.GITHUB_TOKEN }} -# addLatest: true + addLatest: ${{ github.ref == 'refs/heads/main' }} # tags: ${{ steps.vars.outputs.sha_short }},latest