mirror of
https://github.com/openvk/openvk
synced 2024-11-15 03:31:18 +03:00
ci(actions): add uploading of built images as artifacts
This commit is contained in:
parent
264287cef9
commit
4e8bbebe3d
1 changed files with 21 additions and 3 deletions
24
.github/workflows/build.yaml
vendored
24
.github/workflows/build.yaml
vendored
|
@ -37,7 +37,7 @@ jobs:
|
||||||
tags: ghcr.io/${{ steps.repositorystring.outputs.lowercase }}/${{env.BASE_IMAGE_NAME}}:test
|
tags: ghcr.io/${{ steps.repositorystring.outputs.lowercase }}/${{env.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
|
||||||
load: true
|
outputs: type=docker,dest=/tmp/openvk.tar
|
||||||
build-args: |
|
build-args: |
|
||||||
GITREPO=${{ steps.repositorystring.outputs.lowercase }}
|
GITREPO=${{ steps.repositorystring.outputs.lowercase }}
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ jobs:
|
||||||
tags: ghcr.io/${{ steps.repositorystring.outputs.lowercase }}/${{env.DB_IMAGE_NAME}}:${{env.DB_VERSION}}-primary
|
tags: ghcr.io/${{ steps.repositorystring.outputs.lowercase }}/${{env.DB_IMAGE_NAME}}:${{env.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
|
||||||
load: true
|
outputs: type=docker,dest=/tmp/mariadb-primary.tar
|
||||||
build-args: |
|
build-args: |
|
||||||
VERSION=${{env.DB_VERSION}}
|
VERSION=${{env.DB_VERSION}}
|
||||||
|
|
||||||
|
@ -57,6 +57,24 @@ jobs:
|
||||||
tags: ghcr.io/${{ steps.repositorystring.outputs.lowercase }}/${{env.DB_IMAGE_NAME}}:${{env.DB_VERSION}}-eventdb
|
tags: ghcr.io/${{ steps.repositorystring.outputs.lowercase }}/${{env.DB_IMAGE_NAME}}:${{env.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
|
||||||
load: true
|
outputs: type=docker,dest=/tmp/mariadb-eventdb.tar
|
||||||
build-args: |
|
build-args: |
|
||||||
VERSION=${{env.DB_VERSION}}
|
VERSION=${{env.DB_VERSION}}
|
||||||
|
|
||||||
|
- name: Upload base image as an artifact
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: openvk
|
||||||
|
path: /tmp/openvk.tar
|
||||||
|
|
||||||
|
- name: Upload MariaDB primary as an artifact
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: mariadb-primary
|
||||||
|
path: /tmp/mariadb-primary.tar
|
||||||
|
|
||||||
|
- name: Upload MariaDB event as an artifact
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: mariadb-eventdb
|
||||||
|
path: /tmp/mariadb-eventdb.tar
|
Loading…
Reference in a new issue