mirror of
https://github.com/flant/ovpn-admin.git
synced 2025-12-16 05:26:13 -08:00
Fix actions file
Signed-off-by: maksim.nabokikh <max.nabokih@gmail.com>
This commit is contained in:
parent
1fae52e85c
commit
5722b2aec8
18
.github/workflows/publish-tag.yaml
vendored
18
.github/workflows/publish-tag.yaml
vendored
@ -44,14 +44,16 @@ jobs:
|
||||
# Build and push Docker image with Buildx (don't push on PR)
|
||||
# https://github.com/docker/build-push-action
|
||||
- name: Build Image
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
run: |
|
||||
. <(echo "$DOCKER_METADATA_OUTPUT_LABELS" | awk '{print "export WERF_EXPORT_ADD_LABEL_" NR "=" $0}')
|
||||
werf build
|
||||
with:
|
||||
push: ${{ github.event_name == 'pull_request' }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
build-args: |
|
||||
TAG=${{ github.ref_name }}
|
||||
platforms: linux/amd64,linux/arm64,linux/arm
|
||||
file: ./Dockerfile.${{ matrix.name }}
|
||||
|
||||
# with:
|
||||
# push: ${{ github.event_name == 'pull_request' }}
|
||||
# tags: ${{ steps.meta.outputs.tags }}
|
||||
# labels: ${{ steps.meta.outputs.labels }}
|
||||
# build-args: |
|
||||
# TAG=${{ github.ref_name }}
|
||||
# platforms: linux/amd64,linux/arm64,linux/arm
|
||||
# file: ./Dockerfile.${{ matrix.name }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user