🏗 Re-add arm/v7, set driver type to Docker, no-cache

This commit is contained in:
Alicia Sykes 2024-03-03 20:29:25 +00:00
parent 0abc2584bd
commit 124e86e407
1 changed files with 10 additions and 1 deletions

View File

@ -11,11 +11,17 @@ on:
- 'src/**'
- 'public/**'
- 'services/**'
- '.github/workflows/docker-build-publish.yml'
- 'Dockerfile'
env:
DH_IMAGE: ${{ secrets.DOCKER_REPO }}
GH_IMAGE: ${{ github.repository_owner }}/${{ github.event.repository.name }}
permissions:
contents: read
packages: write
jobs:
docker:
runs-on: ubuntu-latest
@ -53,6 +59,8 @@ jobs:
- name: 🔧 Set up Docker Buildx
uses: docker/setup-buildx-action@v1
with:
driver: docker
- name: 🔑 Login to DockerHub
uses: docker/login-action@v1
@ -75,7 +83,8 @@ jobs:
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
platforms: linux/amd64,linux/arm64,linux/arm/v7
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
push: true
no-cache: true