Fix GH action

This commit is contained in:
Andrei Marcu 2020-08-14 00:39:53 -07:00
parent 8ed205181a
commit 965d5f6c29
1 changed files with 2 additions and 3 deletions

View File

@ -2,9 +2,8 @@ name: buildx
on: on:
push: push:
branches: master
tags: tags:
- v* - 'v*'
jobs: jobs:
buildx: buildx:
@ -17,7 +16,7 @@ jobs:
name: Prepare name: Prepare
id: prepare id: prepare
run: | run: |
DOCKER_IMAGE=crazymax/diun DOCKER_IMAGE=andreimarcu/linx-server
DOCKER_PLATFORMS=linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/386 DOCKER_PLATFORMS=linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/386
VERSION=version-${GITHUB_REF#refs/tags/v} VERSION=version-${GITHUB_REF#refs/tags/v}
TAGS="--tag ${DOCKER_IMAGE}:${VERSION} --tag ${DOCKER_IMAGE}:latest" TAGS="--tag ${DOCKER_IMAGE}:${VERSION} --tag ${DOCKER_IMAGE}:latest"