Skip to content

chore: generate changelog for 46.0.0 #749

chore: generate changelog for 46.0.0

chore: generate changelog for 46.0.0 #749

Workflow file for this run

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
name: Docker
on: [pull_request, push]
jobs:
build_docker:
name: Run Build Docker Script
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Installs Rust and Cargo
run: curl -y --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- name: Run script
run: |
./dev/build-ballista-docker.sh
docker tag apache/datafusion-ballista-standalone:latest ghcr.io/apache/datafusion-ballista-standalone:latest
docker tag apache/datafusion-ballista-executor:latest ghcr.io/apache/datafusion-ballista-executor:latest
docker tag apache/datafusion-ballista-scheduler:latest ghcr.io/apache/datafusion-ballista-scheduler:latest
# release dockers only when there is a tag
export DOCKER_TAG="$(git describe --exact-match --tags $(git log -n1 --pretty='%h') || echo '')"
if [[ $DOCKER_TAG =~ ^[0-9\.]+-rc[0-9]+$ ]]
then
docker login ghcr.io -u $DOCKER_USER -p "$DOCKER_PASS"
echo "publishing docker tag $DOCKER_TAG"
docker tag apache/datafusion-ballista-standalone:latest ghcr.io/apache/datafusion-ballista-standalone:$DOCKER_TAG
docker tag apache/datafusion-ballista-executor:latest ghcr.io/apache/datafusion-ballista-executor:$DOCKER_TAG
docker tag apache/datafusion-ballista-scheduler:latest ghcr.io/apache/datafusion-ballista-scheduler:$DOCKER_TAG
docker push ghcr.io/apache/datafusion-ballista-standalone:$DOCKER_TAG
docker push ghcr.io/apache/datafusion-ballista-executor:$DOCKER_TAG
docker push ghcr.io/apache/datafusion-ballista-scheduler:$DOCKER_TAG
echo "publishing docker tag latest"
docker push ghcr.io/apache/datafusion-ballista-standalone:latest
docker push ghcr.io/apache/datafusion-ballista-executor:latest
docker push ghcr.io/apache/datafusion-ballista-scheduler:latest
fi
env:
DOCKER_USER: ${{ github.actor }}
DOCKER_PASS: ${{ secrets.GITHUB_TOKEN }}