Action for ARM - 3

This commit is contained in:
aceberg 2022-08-30 12:38:06 +07:00
parent fc3a376772
commit 0bbe694857

View file

@ -14,7 +14,7 @@ on:
env: env:
IMAGE_NAME: watchyourlan IMAGE_NAME: watchyourlan
TAGS: arm, arm-latest, arm-v0.7.2 TAGS: latest, v0.7.2
jobs: jobs:
@ -52,7 +52,7 @@ jobs:
uses: docker/metadata-action@v4 uses: docker/metadata-action@v4
with: with:
# list of Docker images to use as base name for tags # list of Docker images to use as base name for tags
images: ${{ github.actor }}/${{ 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: ${{ env.TAGS }}
@ -62,5 +62,5 @@ jobs:
context: . context: .
platforms: linux/arm/v7 platforms: linux/arm/v7
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta1.outputs.tags }} tags: ${{ env.TAGS }}
labels: ${{ steps.meta1.outputs.labels }} labels: ${{ steps.meta1.outputs.labels }}