From 83fd8c816233495ead8afeafd27e506410c3605c Mon Sep 17 00:00:00 2001 From: Bart Geesink Date: Tue, 12 Mar 2024 11:17:23 +0100 Subject: [PATCH] Docker: Add :latest tag to production builds and :snapshot for snapshots --- .github/workflows/deploy.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index eeedd45..335348b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -98,6 +98,8 @@ jobs: latest=false tags: | type=ref,event=tag + type=raw,event=tag,value=latest + type=raw,event=workflow_dispatch,value=snapshot type=semver,pattern={{version}},value=${{ steps.versioncheck.outputs.version }} type=sha @@ -110,6 +112,8 @@ jobs: latest=false tags: | type=ref,event=tag + type=raw,event=tag,value=latest + type=raw,event=workflow_dispatch,value=snapshot type=semver,pattern={{version}},value=${{ steps.versioncheck.outputs.version }} type=sha