for the main branch tag docker image with "latest"

This commit is contained in:
Axel Uhl
2024-05-23 18:32:40 +02:00
parent ef7034cb3a
commit e7dda3e4e0
+1 -1
View File
@@ -51,7 +51,7 @@ jobs:
uses: docker/build-push-action@v5
with:
build-args: RELEASE=${{ env.RELEASE }}
tags: ghcr.io/sap/sailing-analytics:${{ env.RELEASE }}
tags: ghcr.io/sap/sailing-analytics:${{ env.RELEASE }}${{ github.ref == 'refs/heads/main' && github.event.inputs.release == '' && ',ghcr.io/sap/sailing-analytics:latest' || '' }}
file: docker/Dockerfile
context: docker/
push: true