Skip to content

Build Latest Apache Polaris Image for Tests #2

Build Latest Apache Polaris Image for Tests

Build Latest Apache Polaris Image for Tests #2

Workflow file for this run

name: Build Latest Apache Polaris Image for Tests
on: workflow_dispatch
jobs:
build_image:
name: Build Container Image
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
repository: 'apache/polaris'
ref: 'main'
- name: Log in to the Container registry
uses: docker/login-action@v3.3.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3.7.1
with:
use: true
platforms: linux/amd64
- name: Build and push Docker image
uses: docker/build-push-action@v6.9.0
with:
context: .
push: true
tags: latest
platforms: linux/amd64