ci: re-add path to dockerfile

This commit is contained in:
Glenn Y. Rolland 2021-12-21 16:17:56 +01:00
parent 0bf28ff215
commit ef5b288261

View file

@ -31,6 +31,7 @@ jobs:
- name: Build image and save as file - name: Build image and save as file
run: | run: |
docker build \ docker build \
--file docker/Dockerfile \
--cache-from $IMAGE_NAME:latest \ --cache-from $IMAGE_NAME:latest \
--tag $IMAGE_NAME:latest \ --tag $IMAGE_NAME:latest \
--build-arg BUILDKIT_INLINE_CACHE=1 \ --build-arg BUILDKIT_INLINE_CACHE=1 \
@ -121,9 +122,9 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Tag images - name: Tag images
run: > run: |
docker tag docker tag \
glenux/teaching-boilerplate:latest glenux/teaching-boilerplate:latest \
glenux/teaching-boilerplate:${{ env.BUILD_VERSION }} glenux/teaching-boilerplate:${{ env.BUILD_VERSION }}
- name: Build image and push to Docker Hub and GitHub Container Registry - name: Build image and push to Docker Hub and GitHub Container Registry