mirror of
https://github.com/prymitive/karma
synced 2026-05-11 03:46:48 +00:00
committed by
Łukasz Mierzwa
parent
23d245cc7b
commit
8dd5432649
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@@ -617,6 +617,10 @@ jobs:
|
||||
run: |
|
||||
echo "DOCKER_PATFORMS=linux/amd64" >> $GITHUB_ENV
|
||||
|
||||
- name: "Setup image version"
|
||||
run: |
|
||||
echo "VERSION=$(make show-version)" >> $GITHUB_ENV
|
||||
|
||||
- name: Build and push
|
||||
id: docker_build
|
||||
uses: docker/build-push-action@v2
|
||||
@@ -626,6 +630,8 @@ jobs:
|
||||
platforms: ${{ env.DOCKER_PATFORMS }}
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
tags: ${{ env.DOCKER_TAGS }}
|
||||
build-args: |
|
||||
VERSION=${{ env.VERSION }}
|
||||
cache-from: type=local,src=/tmp/.buildx-cache
|
||||
cache-to: type=local,dest=/tmp/.buildx-cache
|
||||
|
||||
|
||||
Reference in New Issue
Block a user