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