|
|
@ -68,7 +68,7 @@ jobs:
|
|
|
|
|
|
|
|
|
|
|
|
- name: Build and push :latest
|
|
|
|
- name: Build and push :latest
|
|
|
|
id: docker_build
|
|
|
|
id: docker_build
|
|
|
|
if: ${{ github.ref == 'master'}}
|
|
|
|
if: ${{ github.ref == 'refs/heads/master'}}
|
|
|
|
uses: docker/build-push-action@v2
|
|
|
|
uses: docker/build-push-action@v2
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
context: ./
|
|
|
|
context: ./
|
|
|
@ -83,7 +83,7 @@ jobs:
|
|
|
|
|
|
|
|
|
|
|
|
- name: Build and push :tag
|
|
|
|
- name: Build and push :tag
|
|
|
|
id: docker_build_tag_release
|
|
|
|
id: docker_build_tag_release
|
|
|
|
if: startsWith(github.ref, 'refs/tags/0.')
|
|
|
|
if: startsWith(github.ref, 'refs/tags/')
|
|
|
|
uses: docker/build-push-action@v2
|
|
|
|
uses: docker/build-push-action@v2
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
context: ./
|
|
|
|
context: ./
|
|
|
|