mirror of https://github.com/lissy93/dashy
🏗 Re-add arm/v7, set driver type to Docker, no-cache
This commit is contained in:
parent
0abc2584bd
commit
124e86e407
|
@ -11,11 +11,17 @@ on:
|
||||||
- 'src/**'
|
- 'src/**'
|
||||||
- 'public/**'
|
- 'public/**'
|
||||||
- 'services/**'
|
- 'services/**'
|
||||||
|
- '.github/workflows/docker-build-publish.yml'
|
||||||
|
- 'Dockerfile'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
DH_IMAGE: ${{ secrets.DOCKER_REPO }}
|
DH_IMAGE: ${{ secrets.DOCKER_REPO }}
|
||||||
GH_IMAGE: ${{ github.repository_owner }}/${{ github.event.repository.name }}
|
GH_IMAGE: ${{ github.repository_owner }}/${{ github.event.repository.name }}
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
packages: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker:
|
docker:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -53,6 +59,8 @@ jobs:
|
||||||
|
|
||||||
- name: 🔧 Set up Docker Buildx
|
- name: 🔧 Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
|
with:
|
||||||
|
driver: docker
|
||||||
|
|
||||||
- name: 🔑 Login to DockerHub
|
- name: 🔑 Login to DockerHub
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
|
@ -75,7 +83,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
push: true
|
push: true
|
||||||
|
no-cache: true
|
||||||
|
|
Loading…
Reference in New Issue