add pg_search #55
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-docker-images | ||
on: | ||
push: | ||
branches: [ "main" ] | ||
paths-ignore: [ "*.md" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
paths-ignore: [ "*.md" ] | ||
workflow_dispatch: # Allows you to run this workflow manually from the Actions tab | ||
env: | ||
BUILDKIT_PROGRESS: "plain" # Full logs for CI build. | ||
REGISTRY_URL: "docker.io" # docker.io or other target registry URL: where to push images to. | ||
REGISTRY_SRC: "docker.io" # For BASE_NAMESPACE of images: where to pull base images from. | ||
# DOCKER_REGISTRY_USERNAME and DOCKER_REGISTRY_PASSWORD is required for docker image push, they should be set in CI secrets. | ||
DOCKER_REGISTRY_USERNAME: ${{ secrets.DOCKER_REGISTRY_USERNAME }} | ||
DOCKER_REGISTRY_PASSWORD: ${{ secrets.DOCKER_REGISTRY_PASSWORD }} | ||
# used to sync image to mirror registry | ||
DOCKER_MIRROR_REGISTRY_USERNAME: ${{ secrets.DOCKER_MIRROR_REGISTRY_USERNAME }} | ||
DOCKER_MIRROR_REGISTRY_PASSWORD: ${{ secrets.DOCKER_MIRROR_REGISTRY_PASSWORD }} | ||
jobs: | ||
qpod_bigdata: | ||
name: "bigdata" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: | | ||
source ./tool.sh | ||
build_image bigdata latest docker_bigdata/Dockerfile --build-arg "ARG_PROFILE_JAVA=base" --build-arg "VERSION_JDK=11" | ||
push_image | ||
qpod_elasticsearch: | ||
name: "elasticsearch" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: | | ||
source ./tool.sh | ||
build_image elasticsearch latest docker_elasticsearch/Dockerfile && push_image | ||
qpod_kafka_confluent: | ||
name: "kafka" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: | | ||
source ./tool.sh | ||
build_image kafka latest docker_kafka_confluent/Dockerfile && push_image | ||
# qpod_postgres-17-ext: # some extension is not yet built for PG 17 | ||
# name: "postgres-17-ext" | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
# - run: | | ||
# source ./tool.sh | ||
# build_image postgres-17-ext latest docker_postgres/postgres-ext.Dockerfile --build-arg BASE_IMG=postgres-17 | ||
# push_image postgres | ||
qpod_postgres-16-ext: | ||
name: "postgres-16-ext" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: | | ||
source ./tool.sh | ||
build_image postgres-16-ext latest docker_postgres/postgres-ext.Dockerfile --build-arg BASE_IMG=postgres-16 | ||
push_image postgres | ||
qpod_postgres-15-ext: | ||
name: "postgres-15-ext" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: | | ||
source ./tool.sh | ||
build_image postgres-15-ext latest docker_postgres/postgres-ext.Dockerfile --build-arg BASE_IMG=postgres-15 | ||
push_image postgres | ||
## Sync all images in this build (listed by "names") to mirror registry. | ||
sync_images: | ||
needs: ["qpod_bigdata", "qpod_elasticsearch", "qpod_kafka_confluent", "qpod_postgres-17-ext", "qpod_postgres-16-ext", "qpod_postgres-15-ext"] | ||
Check failure on line 88 in .github/workflows/build-docker.yml GitHub Actions / build-docker-imagesInvalid workflow file
|
||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: | | ||
source ./tool.sh | ||
printenv | grep -v 'PATH' > /tmp/docker.env | ||
docker run --rm --env-file /tmp/docker.env -v $(pwd):/tmp -w /tmp \ | ||
${IMG_NAMESPACE:-qpod}/docker-kit python /opt/utils/image-syncer/run_jobs.py |