Compare commits
3 Commits
6d1edebaaa
...
4ce334a081
Author | SHA1 | Date | |
---|---|---|---|
4ce334a081 | |||
9c070afde7 | |||
95ab20826e |
@ -39,8 +39,10 @@ steps:
|
|||||||
- sleep 15
|
- sleep 15
|
||||||
- echo "$DOCKER_REGISTRY_TOKEN" | docker login docker.struchkov.dev --username $DOCKER_REGISTRY_USER --password-stdin
|
- echo "$DOCKER_REGISTRY_TOKEN" | docker login docker.struchkov.dev --username $DOCKER_REGISTRY_USER --password-stdin
|
||||||
- echo "$DOCKER_REGISTRY_TOKEN" | docker login hub.docker.struchkov.dev --username $DOCKER_REGISTRY_USER --password-stdin
|
- echo "$DOCKER_REGISTRY_TOKEN" | docker login hub.docker.struchkov.dev --username $DOCKER_REGISTRY_USER --password-stdin
|
||||||
- docker buildx create --use
|
- docker build -t "docker.struchkov.dev/quartz:develop" .
|
||||||
- docker buildx build --push --platform linux/arm/v7,linux/arm64/v8,linux/amd64 -t "docker.struchkov.dev/quartz:develop" .
|
- docker push docker.struchkov.dev/quartz:develop
|
||||||
|
# - docker buildx create --use
|
||||||
|
# - docker buildx build --push --platform linux/arm/v7,linux/arm64/v8,linux/amd64 -t "docker.struchkov.dev/quartz:develop" .
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
@ -93,6 +95,6 @@ steps:
|
|||||||
# drone sign --save DockerFiles/quartz
|
# drone sign --save DockerFiles/quartz
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: cf0faf7e69ed98a6c0191b3578f874c41d6a297645bcf5c8cc1994c540f207ba
|
hmac: 27395716fe77ffcb190d0c6cbbc867ede272b3a79ee25dc23672f24459054b22
|
||||||
|
|
||||||
...
|
...
|
||||||
|
@ -58,11 +58,12 @@ export const CreatedModifiedDate: QuartzTransformerPlugin<Partial<Options>> = (u
|
|||||||
// Get a reference to the main git repo.
|
// Get a reference to the main git repo.
|
||||||
// It's either the same as the workdir,
|
// It's either the same as the workdir,
|
||||||
// or 1+ level higher in case of a submodule/subtree setup
|
// or 1+ level higher in case of a submodule/subtree setup
|
||||||
repo = Repository.discover(file.cwd)
|
repo = Repository.discover("/usr/src/app/content")
|
||||||
|
console.log(chalk.green(`Git repository found at: ${repo.path()}`));
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
modified ||= await repo.getFileLatestModifiedDateAsync(file.data.filePath!)
|
modified ||= await repo.getFileLatestModifiedDateAsync(fullFp!)
|
||||||
} catch {
|
} catch {
|
||||||
console.log(
|
console.log(
|
||||||
chalk.yellow(
|
chalk.yellow(
|
||||||
|
Loading…
Reference in New Issue
Block a user