Action for ARM - 5
This commit is contained in:
parent
e604711f58
commit
2fb4d9da42
2 changed files with 12 additions and 9 deletions
9
.github/workflows/arm-docker-publish.yml
vendored
9
.github/workflows/arm-docker-publish.yml
vendored
|
|
@ -14,7 +14,7 @@ on:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
IMAGE_NAME: watchyourlan
|
IMAGE_NAME: watchyourlan
|
||||||
TAGS: latest, v0.7.2
|
TAGS: arm-latest, arm-v0.7.2
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
@ -54,12 +54,15 @@ jobs:
|
||||||
# list of Docker images to use as base name for tags
|
# list of Docker images to use as base name for tags
|
||||||
images: ${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}
|
images: ${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}
|
||||||
# Docker tags based on the following events/attributes
|
# Docker tags based on the following events/attributes
|
||||||
tags: ${{ env.TAGS }}
|
tags: |
|
||||||
|
arm-latest
|
||||||
|
arm-v0.7.2
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
platforms: linux/arm/v6,linux/arm/v7,linux/arm64
|
# platforms: linux/arm/v6,linux/arm/v7,linux/arm64
|
||||||
|
platforms: linux/arm/v7
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta1.outputs.tags }}
|
tags: ${{ steps.meta1.outputs.tags }}
|
||||||
12
.github/workflows/docker-publish.yml
vendored
12
.github/workflows/docker-publish.yml
vendored
|
|
@ -3,14 +3,14 @@ name: Docker
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "main" ]
|
branches: [ "main" ]
|
||||||
paths:
|
# paths:
|
||||||
- 'Dockerfile'
|
# - 'Dockerfile'
|
||||||
- 'src/**'
|
# - 'src/**'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "main" ]
|
branches: [ "main" ]
|
||||||
paths:
|
# paths:
|
||||||
- 'Dockerfile'
|
# - 'Dockerfile'
|
||||||
- 'src/**'
|
# - 'src/**'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
IMAGE_NAME: watchyourlan
|
IMAGE_NAME: watchyourlan
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue