Skip to content

Commit

Permalink
🏗 Re-add arm/v7, set driver type to Docker, no-cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Lissy93 committed Mar 3, 2024
1 parent 0abc258 commit 124e86e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/docker-build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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

0 comments on commit 124e86e

Please sign in to comment.