We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0992cdb commit e732bc5Copy full SHA for e732bc5
.github/workflows/docker.yml
@@ -49,7 +49,7 @@ jobs:
49
cache-to: type=inline
50
tags: |
51
${{ env.IMAGE_NAME }}:${{ env.VERSION }}
52
- ${{ env.IMAGE_NAME }}:latest
+ ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' && format('{0}:latest', env.IMAGE_NAME) || '' }}
53
platforms: linux/amd64,linux/arm64
54
55
env:
0 commit comments