mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
build: Bash
build: Bash
This commit is contained in:
commit
21699b8960
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -55,6 +55,7 @@ jobs:
|
|||||||
name: Build Docker image
|
name: Build Docker image
|
||||||
id: build
|
id: build
|
||||||
run: |
|
run: |
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
DIRECTORY="."
|
DIRECTORY="."
|
||||||
PLATFORMS="linux/amd64,linux/arm64"
|
PLATFORMS="linux/amd64,linux/arm64"
|
||||||
@ -77,7 +78,7 @@ jobs:
|
|||||||
LABELS+=("org.opencontainers.image.version=${VERSION}")
|
LABELS+=("org.opencontainers.image.version=${VERSION}")
|
||||||
LABELS+=("org.opencontainers.image.created=${BUILD_DATE}")
|
LABELS+=("org.opencontainers.image.created=${BUILD_DATE}")
|
||||||
LABELS+=("org.opencontainers.image.revision=${GITHUB_RUN_ID}")
|
LABELS+=("org.opencontainers.image.revision=${GITHUB_RUN_ID}")
|
||||||
LABELS+=("org.opencontainers.image.url=https://hub.docker.com/r/${{ secrets.DOCKERHUB_REPO }}")
|
LABELS+=("org.opencontainers.image.url=https://hub.docker.com/r/${{ github.repository }}")
|
||||||
LABELS+=("org.opencontainers.image.source=https://github.com/${{ github.repository }}")
|
LABELS+=("org.opencontainers.image.source=https://github.com/${{ github.repository }}")
|
||||||
|
|
||||||
docker buildx build --progress=plain \
|
docker buildx build --progress=plain \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user