fix(workflows): fix docker image publish flow (#2580)

Signed-off-by: Rui Chen <rui@chenrui.dev>

Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
Rui Chen
2022-10-10 13:07:12 -04:00
committed by GitHub
parent 9cfcd1334c
commit ce4c7dbd51

View File

@@ -63,7 +63,7 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/atlantis:${{ env.RELEASE_VERSION }}
ghcr.io/${{ github.repository_owner }}/atlantis:latest
ghcr.io/${{ github.repository_owner }}/atlantis:prerelease-latest
- name: Build and push atlantis:${{ env.RELEASE_VERSION }} image for stable release
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') && (!contains(github.ref, '-pre.')) }}
@@ -74,4 +74,4 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/atlantis:${{ env.RELEASE_VERSION }}
ghcr.io/${{ github.repository_owner }}/atlantis:prerelease-latest
ghcr.io/${{ github.repository_owner }}/atlantis:latest