github action test
Signed-off-by: André Bauer <monotek23@gmail.com>
This commit is contained in:
		
							parent
							
								
									6efe9eafea
								
							
						
					
					
						commit
						6464f2fb51
					
				
							
								
								
									
										5
									
								
								.github/docker-image-build.sh
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								.github/docker-image-build.sh
									
									
									
									
										vendored
									
									
								
							| @ -6,10 +6,9 @@ set -o errexit | |||||||
| set -o pipefail | set -o pipefail | ||||||
| 
 | 
 | ||||||
| DOCKER_IMAGES="zammad zammad-elasticsearch zammad-postgresql" | DOCKER_IMAGES="zammad zammad-elasticsearch zammad-postgresql" | ||||||
| DOCKER_IMAGE_TAG="ci-snapshot" |  | ||||||
| 
 | 
 | ||||||
| # shellcheck disable=SC2153 | # shellcheck disable=SC2153 | ||||||
| for DOCKER_IMAGE in ${DOCKER_IMAGES}; do | for DOCKER_IMAGE in ${DOCKER_IMAGES}; do | ||||||
|   echo "Build Zammad Docker image ${DOCKER_IMAGE} with version ${DOCKER_IMAGE_TAG} for local test" |   echo "Build Zammad Docker image ${DOCKER_IMAGE} for local test" | ||||||
|   docker build --pull --no-cache --build-arg BUILD_DATE="$(date -u +'%Y-%m-%dT%H:%M:%SZ')" -t "${DOCKER_IMAGE}-${DOCKER_IMAGE_TAG}" -f "containers/${DOCKER_IMAGE}/Dockerfile" . |   docker build --pull --no-cache --build-arg BUILD_DATE="$(date -u +'%Y-%m-%dT%H:%M:%SZ')" -t "${DOCKER_IMAGE}" -f "containers/${DOCKER_IMAGE}/Dockerfile" . | ||||||
| done | done | ||||||
|  | |||||||
							
								
								
									
										2
									
								
								.github/workflows/ci.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/ci.yaml
									
									
									
									
										vendored
									
									
								
							| @ -44,7 +44,7 @@ jobs: | |||||||
|       - name: build docker containers |       - name: build docker containers | ||||||
|         run: .github/docker-image-build.sh         |         run: .github/docker-image-build.sh         | ||||||
|       - name: use images build by ci |       - name: use images build by ci | ||||||
|         run: "sed -i -e 's#image: ${IMAGE_REPO}:##g' -e 's#${VERSION}#-ci-snapsoht#g' docker-compose.yml" |         run: "sed -i -e 's#image: ${IMAGE_REPO}:##g' -e 's#${VERSION}##g' docker-compose.yml" | ||||||
|       - name: run docker-compose up |       - name: run docker-compose up | ||||||
|         run: docker-compose up --detach |         run: docker-compose up --detach | ||||||
|       - name: add autowizard file |       - name: add autowizard file | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user