@@ -3,13 +3,11 @@ name: Build and Push Docker Image for Quickstart
33on :
44 release :
55 type : [published]
6- # trigger on each commit of each branch and push with latest tag
76 push :
8- # pull_request:
9- # paths:
10- # - 'pyproject.toml'
11- # - './docker/**'
12- # - '.github/workflows/**'
7+ paths :
8+ - ' src/neo4j-quickstart/**'
9+ - ' tools/images/Dockerfile-neo4j'
10+ - ' .github/workflows/**'
1311
1412env :
1513 REGISTRY : ghcr.io
2927
3028 - name : lowercase image name
3129 run : |
32- echo "IMAGE_NAME=${GITHUB_REPOSITORY,,}" >> ${GITHUB_ENV}
30+ echo "IMAGE_NAME=${GITHUB_REPOSITORY,,}-neo4j " >> ${GITHUB_ENV}
3331
3432 # https://github.com/docker/setup-qemu-action
3533 - name : Set up QEMU
5351 with :
5452 context : .
5553 platforms : linux/amd64
56- file : tools/images/Dockerfile
54+ file : tools/images/Dockerfile-neo4j
5755 push : false
5856 tags : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.release-version.outputs.version_build }}
5957 build-args : PLATFORM=cu124
7371
7472 - name : lowercase image name
7573 run : |
76- echo "IMAGE_NAME=${GITHUB_REPOSITORY,,}" >> ${GITHUB_ENV}
74+ echo "IMAGE_NAME=${GITHUB_REPOSITORY,,}-neo4j " >> ${GITHUB_ENV}
7775
7876 # https://github.com/docker/setup-qemu-action
7977 - name : Set up QEMU
@@ -115,7 +113,7 @@ jobs:
115113 with :
116114 context : .
117115 platforms : linux/amd64
118- file : tools/images/Dockerfile
116+ file : tools/images/Dockerfile-neo4j
119117 push : true
120118 tags : ${{ steps.meta.outputs.tags }}
121119 labels : ${{ steps.meta.outputs.labels }}
0 commit comments