mirror of
https://github.com/wahyd4/diun.git
synced 2026-08-09 05:16:03 +10:00
Add build-args
This commit is contained in:
@@ -104,6 +104,8 @@ jobs:
|
||||
echo ::set-output name=docker_image::${DOCKER_IMAGE}
|
||||
echo ::set-output name=version::${VERSION}
|
||||
echo ::set-output name=tags::${TAGS}
|
||||
echo ::set-output name=build_date::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
|
||||
echo ::set-output name=vcs_ref::${GITHUB_SHA::8}
|
||||
-
|
||||
name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@master
|
||||
@@ -130,6 +132,10 @@ jobs:
|
||||
platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/386,linux/ppc64le,linux/s390x
|
||||
push: ${{ github.event_name != 'pull_request' && (endsWith(github.ref, github.event.repository.default_branch) || startsWith(github.ref, 'refs/tags/')) }}
|
||||
tags: ${{ steps.prep.outputs.tags }}
|
||||
build-args: |
|
||||
VERSION=${{ steps.prep.outputs.version }}
|
||||
BUILD_DATE=${{ steps.prep.outputs.build_date }}
|
||||
VCS_REF=${{ steps.prep.outputs.vcs_ref }}
|
||||
-
|
||||
name: Check manifest
|
||||
if: github.event_name != 'pull_request' && (endsWith(github.ref, github.event.repository.default_branch) || startsWith(github.ref, 'refs/tags/'))
|
||||
|
||||
Reference in New Issue
Block a user