mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
try building proper tag
This commit is contained in:
@@ -4,16 +4,17 @@ set -xe
|
||||
version=0.2.0-1
|
||||
base_image="ghcr.io/firezone/${MATRIX_IMAGE}"
|
||||
pkg_file="firezone-${version}-${MATRIX_IMAGE/:/_}.amd64.tar.gz"
|
||||
image="firezone-${version}-${MATRIX_IMAGE/:/_}:${GITHUB_SHA}"
|
||||
image="ghcr.io/firezone/release-${MATRIX_IMAGE/:/_}:${GITHUB_SHA}"
|
||||
|
||||
docker build \
|
||||
--no-cache \
|
||||
docker buildx build \
|
||||
--push \
|
||||
--pull \
|
||||
-t $image \
|
||||
-f pkg/Dockerfile.release \
|
||||
--platform linux/amd64 \
|
||||
--build-arg PKG_FILE=$pkg_file \
|
||||
--build-arg BASE_IMAGE=$base_image \
|
||||
--progress plain \
|
||||
.
|
||||
|
||||
cid=$(docker create $image)
|
||||
|
||||
Reference in New Issue
Block a user