Skip to content

Merge pull request #3 from frli4797/batching_messages #13

Merge pull request #3 from frli4797/batching_messages

Merge pull request #3 from frli4797/batching_messages #13

Workflow file for this run

name: ci
on:
push:
branches:
- "main"
jobs:
build:
runs-on: ubuntu-latest
steps:
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKER_HUB_USER }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
# -
# name: Cache Docker layers
# uses: actions/cache@v3
# with:
# path: /tmp/.buildx-cache
# key: ${{ runner.os }}-buildx-${{ hashFiles('**/Dockerfile') }}
# restore-keys: |
# ${{ runner.os }}-buildx-
-
name: Build and push
uses: docker/build-push-action@v6
with:
# context: .
# file: ./Dockerfile
push: true
platforms: linux/amd64,linux/arm64 #, linux/arm/v7, linux/arm/v8
tags: ${{ vars.DOCKER_HUB_USER }}/ish:latest
cache-from: type=registry,ref=${{ vars.DOCKER_HUB_USER }}/ish:latest
cache-to: type=inline