Fix CI
This commit is contained in:
@@ -16,7 +16,7 @@ steps:
|
|||||||
RELEASE_IMAGE_NAME: "docker.io/genunix/restic"
|
RELEASE_IMAGE_NAME: "docker.io/genunix/restic"
|
||||||
commands:
|
commands:
|
||||||
- |
|
- |
|
||||||
RESTIC_VERSION=$$(grep RESTIC_VERSION Dockerfile|cut -d = -f 2)
|
RESTIC_VERSION=$$(grep RESTIC_VERSION= Dockerfile|cut -d = -f 2)
|
||||||
podman login --username "$${REGISTRY_USERNAME}" --password "$${REGISTRY_PASSWORD}" "$${REGISTRY_SERVER}"
|
podman login --username "$${REGISTRY_USERNAME}" --password "$${REGISTRY_PASSWORD}" "$${REGISTRY_SERVER}"
|
||||||
echo "== Building $${RELEASE_IMAGE_NAME}:$${DRONE_COMMIT_SHA}"
|
echo "== Building $${RELEASE_IMAGE_NAME}:$${DRONE_COMMIT_SHA}"
|
||||||
podman build --platform linux/arm64/v8 --platform linux/amd64 --pull-always --format docker -t $${RELEASE_IMAGE_NAME}:$${DRONE_COMMIT_SHA} .
|
podman build --platform linux/arm64/v8 --platform linux/amd64 --pull-always --format docker -t $${RELEASE_IMAGE_NAME}:$${DRONE_COMMIT_SHA} .
|
||||||
|
|||||||
Reference in New Issue
Block a user