Skip to content

perf: autovacuum tuning and drop unused ix31 index (#367) #35

perf: autovacuum tuning and drop unused ix31 index (#367)

perf: autovacuum tuning and drop unused ix31 index (#367) #35

Workflow file for this run

name: build-and-push-docker-image
on:
push:
branches:
- 'master'
workflow_dispatch:
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Short SHA
id: vars
run: echo "short_sha=${GITHUB_SHA:0:7}" >> $GITHUB_OUTPUT
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
id: docker_build
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: |
steemit/hivemind:latest
steemit/hivemind:latest-${{ steps.vars.outputs.short_sha }}
-
name: Pushed tags
run: |
echo "Pushed image tags:"
echo " - steemit/hivemind:latest"
echo " - steemit/hivemind:latest-${{ steps.vars.outputs.short_sha }}"