Use canonical release source URL
This commit is contained in:
@@ -70,13 +70,13 @@ jobs:
|
||||
[[ "$REVISION" =~ ^[0-9a-f]{40}$ ]]
|
||||
docker build \
|
||||
--label "org.opencontainers.image.revision=$REVISION" \
|
||||
--label "org.opencontainers.image.source=${{ gitea.server_url }}/${{ gitea.repository }}" \
|
||||
--label "org.opencontainers.image.source=https://$REGISTRY/${{ gitea.repository }}" \
|
||||
--tag "$REGISTRY/$REGISTRY_OWNER/watermaps:$REVISION" \
|
||||
.
|
||||
docker build \
|
||||
--file deploy/route-data.Dockerfile \
|
||||
--label "org.opencontainers.image.revision=$REVISION" \
|
||||
--label "org.opencontainers.image.source=${{ gitea.server_url }}/${{ gitea.repository }}" \
|
||||
--label "org.opencontainers.image.source=https://$REGISTRY/${{ gitea.repository }}" \
|
||||
--tag "$REGISTRY/$REGISTRY_OWNER/watermaps-route-data:$REVISION" \
|
||||
.
|
||||
|
||||
@@ -117,7 +117,7 @@ jobs:
|
||||
docker build \
|
||||
--file deploy/release.Dockerfile \
|
||||
--build-arg "REVISION=$REVISION" \
|
||||
--build-arg "SOURCE=${{ gitea.server_url }}/${{ gitea.repository }}" \
|
||||
--build-arg "SOURCE=https://$REGISTRY/${{ gitea.repository }}" \
|
||||
--build-arg "APP_IMAGE=$app_image" \
|
||||
--build-arg "ROUTE_DATA_IMAGE=$route_data_image" \
|
||||
--tag "$REGISTRY/$REGISTRY_OWNER/watermaps-release:$REVISION" \
|
||||
|
||||
Reference in New Issue
Block a user