From 5844157d055b8b329889591f0effcf1d273c064c Mon Sep 17 00:00:00 2001 From: lAmeR1 Date: Tue, 7 May 2024 23:54:06 +0200 Subject: [PATCH] inspect latest --- .github/workflows/docker-image.yml | 2 +- constants.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 9160e45..a5daf6f 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -41,4 +41,4 @@ jobs: --build-arg version=${{github.ref_name}} \ --push . - docker buildx imagetools inspect supertypo/kaspa-rest-server:${SHORT_SHA} + docker buildx imagetools inspect supertypo/kaspa-rest-server:latest diff --git a/constants.py b/constants.py index 7eda8e0..f21ad03 100644 --- a/constants.py +++ b/constants.py @@ -21,4 +21,4 @@ ADDRESS_PREFIX = address_prefix ADDRESS_EXAMPLE = address_example -REGEX_KASPA_ADDRESS = f"^{ADDRESS_PREFIX}:[a-z0-9]{61, 63}$" +REGEX_KASPA_ADDRESS = "^" + ADDRESS_PREFIX + ":[a-z0-9]{61,63}$"