2 Commits
0.1.0 ... 0.1.1

Author SHA1 Message Date
James Carnegie
57cb1806f4 Trigger from tagging
Some checks failed
Build and push / build (push) Has been cancelled
Release / Release Go Binary (amd64, darwin) (push) Has been cancelled
Release / Release Go Binary (amd64, linux) (push) Has been cancelled
Release / Release Go Binary (amd64, windows) (push) Has been cancelled
Release / Release Go Binary (arm64, darwin) (push) Has been cancelled
Release / Release Go Binary (arm64, linux) (push) Has been cancelled
2023-02-09 13:59:16 +00:00
James Carnegie
292f7ec3cc Set log level to avoid stdout logging 2023-02-09 13:41:43 +00:00
4 changed files with 11 additions and 8 deletions

View File

@@ -2,8 +2,8 @@ name: Build and push
on:
push:
branches:
- main
tags:
- '*'
env:
IMAGE_NAME: docker/babashka-pod-docker
@@ -42,7 +42,7 @@ jobs:
org.opencontainers.image.revision=${{ env.SHA }}
tags: |
latest
0.1.0
${{github.ref_name}}
# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action

View File

@@ -2,8 +2,8 @@ name: Release
on:
push:
branches:
- main
tags:
- '*'
jobs:
releases-matrix:

View File

@@ -66,8 +66,8 @@
(println (load-pod "./babashka-pod-docker"))
(impl/invoke-public
"docker.babashka-pod-docker"
"babashka-pod-docker/parse-image-name"
["ubuntu:latest"]
"babashka-pod-docker/generate-sbom"
["ubuntu:latest" "" ""]
{})
(generate-sbom "alpine")
)

View File

@@ -3,9 +3,13 @@ package main
import (
"dockerfileparse/user/parser/babashka"
"dockerfileparse/user/parser/docker"
"github.com/atomist-skills/go-skill"
"github.com/sirupsen/logrus"
)
func main() {
skill.Log.SetLevel(logrus.ErrorLevel)
for {
message, err := babashka.ReadMessage()
if err != nil {
@@ -28,4 +32,3 @@ func main() {
babashka.WriteInvokeResponse(message, res)
}
}