|
|
|
@ -24,7 +24,6 @@ jobs:
|
|
|
|
- name: Checkout repository
|
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Build image
|
|
|
|
- name: Build image
|
|
|
|
uses: docker/build-push-action@v2
|
|
|
|
uses: docker/build-push-action@v2
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
@ -32,8 +31,6 @@ jobs:
|
|
|
|
context: .
|
|
|
|
context: .
|
|
|
|
file: dev/build/Dockerfile
|
|
|
|
file: dev/build/Dockerfile
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Build image and push image to GitHub Packages.
|
|
|
|
# Build image and push image to GitHub Packages.
|
|
|
|
# See also https://docs.docker.com/docker-hub/builds/
|
|
|
|
# See also https://docs.docker.com/docker-hub/builds/
|
|
|
|
build-and-push-image:
|
|
|
|
build-and-push-image:
|
|
|
|
@ -71,7 +68,7 @@ jobs:
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
|
|
|
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
|
|
|
tags: |
|
|
|
|
tags: |
|
|
|
|
type=sha
|
|
|
|
type=sha,prefix=
|
|
|
|
|
|
|
|
|
|
|
|
- name: Disable dev flag
|
|
|
|
- name: Disable dev flag
|
|
|
|
if: startsWith(github.ref, 'refs/tags/v')
|
|
|
|
if: startsWith(github.ref, 'refs/tags/v')
|
|
|
|
|