diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 9006fa7..fa88acc 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -48,17 +48,17 @@ jobs: # docker related ops, only run on tags - name: Commit the docker container - if: ${{github.ref.type == 'tag'}} + if: ${{github.ref_type == 'tag'}} run: | docker commit fin kskarthik/indian-fincodes-api:latest docker tag kskarthik/indian-fincodes-api:latest kskarthik/indian-fincodes-api:${{ github.ref.name }} - name: Authenticate to Docker Hub - if: ${{github.ref.type == 'tag'}} + if: ${{github.ref_type == 'tag'}} run: docker login -u kskarthik -p ${{ secrets.DOCKER_HUB_PWD }} - name: Push Docker Image to Hub - if: ${{github.ref.type == 'tag'}} + if: ${{github.ref_type == 'tag'}} run: | docker push kskarthik/indian-fincodes-api:latest docker push kskarthik/indian-fincodes-api:${{ github.ref.name }}