diff --git a/.woodpecker.yml b/.woodpecker.yml index ffa586e..625a430 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,4 +1,11 @@ steps: + + - name: create-versioninfo + image: alpine + commands: + - echo "Commit SHA: ${CI_COMMIT_SHA:0:7}" > public/versioninfo + - echo "Build Date: $(date -u +"%Y-%m-%d %H:%M:%S")" >> public/versioninfo + - name: build-image # This plugin handles the DinD complexity for you image: woodpeckerci/plugin-docker-buildx