Skip to content

shovel-config-ts: allow filter_arg to take empty string (#280) #415

shovel-config-ts: allow filter_arg to take empty string (#280)

shovel-config-ts: allow filter_arg to take empty string (#280) #415

Workflow file for this run

name: docker
on:
push:
branches:
- 'main'
- 'r/docker'
jobs:
docker:
runs-on: large
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Set short git commit SHA
id: vars
run: |
ss=$(echo ${{ github.sha }} | cut -c1-4)
echo "SS=$ss" >> $GITHUB_ENV
-
name: Build and push
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
context: .
file: ./cmd/shovel/Dockerfile
push: true
cache-from: type=gha
cache-to: type=gha,mode=max
tags: indexsupply/shovel:latest,indexsupply/shovel:${{ env.SS }}