okay, universe

This commit is contained in:
folex 2020-12-04 20:20:48 +03:00
parent 517d42e24e
commit c206fb050f

View File

@ -54,10 +54,10 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
### Set container tag to 'latest' if branch is master, and to $BRANCH_NAME otherwise
- if: ${{ env.BRANCH_NAME }} == 'master'
run: echo "CONTAINER_TAG=latest" >> $GITHUB_ENV
- if: ${{ env.BRANCH_NAME }} != 'master'
run: echo "CONTAINER_TAG=${{ env.BRANCH_NAME }}" >> $GITHUB_ENV
- if: ${{ env.BRANCH_NAME }} == 'master'
run: echo "CONTAINER_TAG=latest" >> $GITHUB_ENV
### Build and push docker image
- name: Build and push