ci(actions): use full form env vars providing

This commit is contained in:
Alexander Minkin 2024-11-04 00:16:47 +03:00
parent 52878a50f8
commit 612cccb700
Signed by untrusted user: WerySkok
GPG key ID: 88E9A2F3AFE44C30

View file

@ -34,8 +34,7 @@ jobs:
- name: Build base image
uses: docker/build-push-action@v6
with:
tags: |
ghcr.io/${{ steps.repositorystring.outputs.lowercase }}/$BASE_IMAGE_NAME:test
tags: ghcr.io/${{ steps.repositorystring.outputs.lowercase }}/${{env.BASE_IMAGE_NAME}}:test
platforms: linux/amd64,linux/arm64
file: install/automated/docker/openvk.Dockerfile
build-args: |
@ -44,19 +43,17 @@ jobs:
- name: Build MariaDB primary image
uses: docker/build-push-action@v6
with:
tags: |
ghcr.io/${{ steps.repositorystring.outputs.lowercase }}/$DB_IMAGE_NAME:$DB_VERSION-primary
tags: ghcr.io/${{ steps.repositorystring.outputs.lowercase }}/${{env.DB_IMAGE_NAME}}:${{env.DB_VERSION}}-primary
platforms: linux/amd64,linux/arm64
file: install/automated/docker/mariadb-primary.Dockerfile
build-args: |
VERSION=$DB_VERSION
VERSION=${{env.DB_VERSION}}
- name: Build MariaDB event image
uses: docker/build-push-action@v6
with:
tags: |
ghcr.io/${{ steps.repositorystring.outputs.lowercase }}/$DB_IMAGE_NAME:$DB_VERSION-eventdb
tags: ghcr.io/${{ steps.repositorystring.outputs.lowercase }}/${{env.DB_IMAGE_NAME}}:${{env.DB_VERSION}}-eventdb
platforms: linux/amd64,linux/arm64
file: install/automated/docker/mariadb-eventdb.Dockerfile
build-args: |
VERSION=$DB_VERSION
VERSION=${{env.DB_VERSION}}