diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6728f9d9..666f77b4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -46,8 +46,12 @@ jobs: id: release - name: Push Worker Image (latest) run: docker push ghcr.io/camunda-community-hub/camunda-7-to-8-migration/diagram-converter:latest + - if: (!github.event.release) + name: Push Worker Image (tag) + run: docker push ghcr.io/camunda-community-hub/camunda-7-to-8-migration/diagram-converter:${{ env.maven_project_version }} - name: Push Worker Image (tag) run: docker push ghcr.io/camunda-community-hub/camunda-7-to-8-migration/diagram-converter:${{ env.maven_project_version }} + if: github.event.release - if: github.event.release name: Attach artifacts to GitHub Release (Release only) uses: actions/upload-release-asset@v1