Skip to content

Commit

Permalink
PM-1566 Rename and remove deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Smorci committed Jun 12, 2024
1 parent e3653ad commit de42c81
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ env:
ECR_REPOSITORY_NAME: gpt-survey-summarizer

jobs:
build-publish-deploy:
name: Build Publish and Deploy Docker Image
build-publish:
name: Build and Publish Docker Image
runs-on: minafoundation-default-runners
steps:

Expand All @@ -30,8 +30,10 @@ jobs:

- name: 🏷️ Generate Tag
run: |
if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then
if [ "${{ github.event_name }}" == "workflow_dispatch" ] && [ "${{ github.event.inputs.docker_tag_suffix" != "" ]; then
echo "TAG=${{ steps.application-version.outputs.current-version }}-${{ github.event.inputs.docker_tag_suffix }}" >> $GITHUB_ENV
elif [ "${{ github.event_name }}" == "workflow_dispatch" ] && [ "${{ github.event.inputs.docker_tag_suffix" == "" ]; then
echo "TAG=${{ steps.application-version.outputs.current-version }}" >> $GITHUB_ENV
elif [ "${{ github.event_name }}" == "push" ] && [ -n "${{ github.event.ref }}" ]; then
echo "TAG=${{ steps.application-version.outputs.current-version }}" >> $GITHUB_ENV
else
Expand Down

0 comments on commit de42c81

Please sign in to comment.