Browse Source

try again

Matthew R Kasun 4 years ago
parent
commit
25e08b9027
1 changed files with 2 additions and 4 deletions
  1. 2 4
      .github/workflows/publish-docker.yml

+ 2 - 4
.github/workflows/publish-docker.yml

@@ -14,11 +14,9 @@ jobs:
                 run: |
                 run: |
                     echo "BUILD_VER=v0.0.$GITHUB_RUN_NUMBER" >> $GITHUB_ENV
                     echo "BUILD_VER=v0.0.$GITHUB_RUN_NUMBER" >> $GITHUB_ENV
                     if ${{ github.head_ref }} = "master" ]
                     if ${{ github.head_ref }} = "master" ]
-                    then
                         echo "TAG=latest" >>$GITHUB_ENV
                         echo "TAG=latest" >>$GITHUB_ENV
-                    else
-                        echo "TAG=${{ github.head_ref}}" >> $GITHUB_ENV
-                    done
+                    if ${{ github.head_ref }} = "master" ]
+                        echo "TAG=develop" >> $GITHUB_ENV
             -
             -
                 name: Checkout
                 name: Checkout
                 uses: actions/checkout@v2
                 uses: actions/checkout@v2