Skip to content

misc: add details (docker) #4

misc: add details (docker)

misc: add details (docker) #4

name: "Test build of image when Dockerfile is changed"
on:
push:
branches-ignore:
- master
pull_request:
workflow_dispatch:
jobs:
rebuild-container:
name: "Build image with cache"
runs-on: ubuntu-latest
steps:
-
name: Set up QEMU
uses: docker/[email protected]
with:
platforms: linux/arm64
-
name: Set up Docker Buildx
uses: docker/[email protected]
-
name: Checkout repository
uses: actions/checkout@v4
-
name: Build image
id: docker_build_amd64
uses: docker/[email protected]
with:
push: false
load: true
platforms: linux/amd64
tags: public-pool-ui:amd64
cache-from: type=registry,ref=${{ secrets.DOCKER_USERNAME }}/public-pool-ui:latest