Skip to content

Docker for Hive

Docker for Hive #77

Workflow file for this run

# Makes a Docker build to be used in Hive tests.
name: Docker for Hive
on:
workflow_dispatch:
schedule:
# every day
- cron: "13 21 * * *" # 21:13 UTC
env:
CARGO_TERM_COLOR: always
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
# Except in `nightly` and `stable` branches! Any cancelled job will cause the
# CI run to fail, and we want to keep a clean history for major branches.
cancel-in-progress: ${{ (github.ref != 'refs/heads/nightly') && (github.ref != 'refs/heads/stable') }}
jobs:
docker:
timeout-minutes: 120
name: Build and publish Docker image
runs-on: ubicloud-standard-16
steps:
- uses: actions/checkout@v4
- name: Docker Setup Buildx
uses: docker/[email protected]
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/[email protected]
with:
context: .
file: ./hive/Dockerfile
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/citrea:latest