fix: push tag was incorrect
This commit is contained in:
parent
bd882b6d3e
commit
c1349c7e40
2 changed files with 1 additions and 6 deletions
|
|
@ -26,7 +26,7 @@ inputs:
|
|||
|
||||
runs:
|
||||
using: 'docker'
|
||||
image: 'docker://stackit-solutions.git.onstackit.cloud/actions/notify-slim:v0.3.1'
|
||||
image: 'docker://stackit-solutions.git.onstackit.cloud/actions/notify-slim:v0.2.1'
|
||||
# image: 'Dockerfile'
|
||||
args:
|
||||
- ${{ inputs.project }}
|
||||
|
|
|
|||
5
main.go
5
main.go
|
|
@ -64,9 +64,6 @@ func main() {
|
|||
data.EventBody = body
|
||||
|
||||
githubactions.Infof("using URL: %s", webhook)
|
||||
// fmt.Println("URL:> ", webhook)
|
||||
|
||||
// var jsonStr = []byte(fmt.Sprintf(data, project, commit, branch, status, actionid))
|
||||
|
||||
jsonStr, err := card(data)
|
||||
if err != nil {
|
||||
|
|
@ -74,8 +71,6 @@ func main() {
|
|||
os.Exit(1)
|
||||
}
|
||||
|
||||
// log.Printf("retrieved data: %s", string(jsonStr))
|
||||
|
||||
req, err := http.NewRequest("POST", webhook, bytes.NewBuffer(jsonStr))
|
||||
if err != nil {
|
||||
githubactions.Fatalf("error %s", err.Error())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue