Skip to content
Closed
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
81 changes: 81 additions & 0 deletions .github/workflows/build-1.28.0-docker-images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
#
# 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: Build Docker Hub Images

on: [push, pull_request]

Comment on lines +19 to +20
jobs:
build-avatica-image:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Generate Docker image tags
id: meta
uses: docker/metadata-action@v6
with:
images: ${{ github.repository }}
flavor: |
latest=false
tags: |
type=raw,enable=true,priority=200,prefix=,suffix=,value=1.28.0
- name: Set up Docker Buildx
Comment on lines +19 to +36
Comment on lines +17 to +36
uses: docker/setup-buildx-action@v4
- name: Log in to Docker Hub
uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and tag Docker image
uses: docker/build-push-action@v7
with:
build-args: |
AVATICA_VERSION=1.28.0
context: docker/src/main/dockerhub
push: true
tags: ${{ steps.meta.outputs.tags }}
build-avatica-hypersql-image:
needs: build-avatica-image
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Generate Docker image tags
id: meta
uses: docker/metadata-action@v6
with:
images: ${{ github.repository }}-hypersql
flavor: |
latest=false
tags: |
type=raw,enable=true,priority=200,prefix=,suffix=,value=1.28.0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
- name: Log in to Docker Hub
uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and tag Docker image
uses: docker/build-push-action@v7
with:
build-args: |
AVATICA_VERSION=1.28.0
context: docker/src/main/dockerhub
file: docker/src/main/dockerhub/Dockerfile.hypersql
push: true
tags: ${{ steps.meta.outputs.tags }}
Loading