Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add airbyte/cron docker image to publish script #15860

Merged
merged 2 commits into from
Aug 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions tools/bin/publish_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
set -e

# List of directories without "airbyte-" prefix.
projectDir=(
projectDir=(
"workers"
"cli"
"cron"
"webapp"
"server"
"temporal"
Expand All @@ -22,7 +23,7 @@ ALPINE_IMAGE=${ALPINE_IMAGE:-alpine:3.14}
POSTGRES_IMAGE=${POSTGRES_IMAGE:-postgres:13-alpine}

# Iterate over all directories in list to build one by one.
# metrics-reporter are exception due to wrong artifact naming
# metrics-reporter are exception due to wrong artifact naming
for workdir in "${projectDir[@]}"
do
case $workdir in
Expand All @@ -43,6 +44,9 @@ for workdir in "${projectDir[@]}"
;;
esac

echo "Publishing airbyte/$artifactName..."
sleep 1

docker buildx create --use --name $artifactName && \
docker buildx build -t "airbyte/$artifactName:$VERSION" \
--platform linux/amd64,linux/arm64 \
Expand Down