add environment variable to github action

This commit is contained in:
MaysWind
2021-06-07 01:24:34 +08:00
parent 28883a6065
commit b9799af1f1
+2
View File
@@ -36,6 +36,8 @@ jobs:
context: .
platforms: linux/amd64,linux/arm64/v8,linux/arm/v7,linux/arm/v6
push: true
build-args: |
RELEASE_BUILD=1
tags: |
${{ secrets.DOCKER_USERNAME }}/ezbookkeeping:${{ steps.vars.outputs.RELEASE_TAG }}
${{ secrets.DOCKER_USERNAME }}/ezbookkeeping:latest