use env vars in image names and tags

This commit is contained in:
meeb
2021-05-27 20:49:48 +10:00
parent 22cebba8ac
commit 72dfe51a46
2 changed files with 19 additions and 14 deletions

View File

@@ -46,6 +46,8 @@ jobs:
with:
platforms: linux/amd64
push: true
tags: ghcr.io/meeb/tubesync:latest
cache-from: type=registry,ref=ghcr.io/meeb/tubesync:latest
tags: ghcr.io/meeb/${{ env.IMAGE_NAME }}:latest
cache-from: type=registry,ref=ghcr.io/meeb/${{ env.IMAGE_NAME }}:latest
cache-to: type=inline
build-args: |
IMAGE_NAME=${{ env.IMAGE_NAME }}